aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
diff options
context:
space:
mode:
authorBenjamin Romer <benjamin.romer@unisys.com>2014-10-23 14:29:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-27 10:33:07 +0800
commit8d507c664d99ccb6885e76718b9b95c5911746d6 (patch)
treef56d4a3cac6b68a0e48dd3f2fef10c99bdc228a3 /drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
parentstaging: unisys: fix indentation on vbuschannel_devinfo_to_string() (diff)
downloadlinux-dev-8d507c664d99ccb6885e76718b9b95c5911746d6.tar.xz
linux-dev-8d507c664d99ccb6885e76718b9b95c5911746d6.zip
staging: unisys: clean up extra parens in vbuschannel_devinfo_to_string
Get rid of the unnecessary parenthesis in several assignments in vbuschannel_devinfo_to_string(). Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h')
-rw-r--r--drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
index de0447c97df4..28864a89908c 100644
--- a/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
+++ b/drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h
@@ -157,7 +157,7 @@ vbuschannel_devinfo_to_string(struct ultra_vbus_deviceinfo *devinfo,
int nsrc, x, i, pad;
int chars = 0;
- psrc = &(devinfo->devtype[0]);
+ psrc = &devinfo->devtype[0];
nsrc = sizeof(devinfo->devtype);
if (vbuschannel_sanitize_buffer(NULL, 0, psrc, nsrc) <= 0)
return 0;
@@ -187,7 +187,7 @@ vbuschannel_devinfo_to_string(struct ultra_vbus_deviceinfo *devinfo,
VBUSCHANNEL_ADDACHAR(' ', p, remain, chars);
/* emit driver name */
- psrc = &(devinfo->drvname[0]);
+ psrc = &devinfo->drvname[0];
nsrc = sizeof(devinfo->drvname);
x = vbuschannel_sanitize_buffer(p, remain, psrc, nsrc);
p += x;
@@ -199,7 +199,7 @@ vbuschannel_devinfo_to_string(struct ultra_vbus_deviceinfo *devinfo,
VBUSCHANNEL_ADDACHAR(' ', p, remain, chars);
/* emit strings */
- psrc = &(devinfo->infostrs[0]);
+ psrc = &devinfo->infostrs[0];
nsrc = sizeof(devinfo->infostrs);
x = vbuschannel_sanitize_buffer(p, remain, psrc, nsrc);
p += x;