From 89e278e2d6156a6d6ae0931d1a488111e7ba3057 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 21 Aug 2016 22:58:45 +0000 Subject: [PATCH] ib_srpt: Remove trailing whitespace git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6969 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 40a510349..18276851b 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -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;