IB/sysfs: remove unused va_list args
authorColin Ian King <colin.king@canonical.com>
Mon, 25 Jan 2016 18:38:06 +0000 (18:38 +0000)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 Feb 2016 12:09:07 +0000 (07:09 -0500)
commit9f780dab7fb5618ee8bacbf6f91832374231c30c
tree8f893d7cc4d16d17e23b1735c232d0232f5894ab
parentbb6a777369449d15a4a890306d2f925cae720e1c
IB/sysfs: remove unused va_list args

_show_port_gid_attr performs a va_end on some unused va_list args.
Clean this up by removing the args completely.

Fixes: 470be516a226e8 ("IB/core: Add gid attributes to sysfs")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/sysfs.c