mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
ib_srpt: Remove trailing whitespace
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6969 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+2
-2
@@ -4095,7 +4095,7 @@ static ssize_t show_port_id(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
strcmp(sport->port_id, DEFAULT_SRPT_ID_STRING) ?
|
||||
SCST_SYSFS_KEY_MARK "\n" : "");
|
||||
mutex_unlock(&sport->mutex);
|
||||
|
||||
|
||||
res = strlen(buf);
|
||||
|
||||
out:
|
||||
@@ -4113,7 +4113,7 @@ static ssize_t store_port_id(struct kobject *kobj, struct kobj_attribute *attr,
|
||||
|
||||
if (!sport)
|
||||
goto out;
|
||||
|
||||
|
||||
end = buf + count;
|
||||
while (end > buf && isspace(((unsigned char *)end)[-1]))
|
||||
--end;
|
||||
|
||||
Reference in New Issue
Block a user