]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit138811cbed34649700b668e064ebb0ad0fcc5257
tree8f893d7cc4d16d17e23b1735c232d0232f5894ab
parent5d3b0b82ee57320e9d8d9a9b9e7cacb85110aedf
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: 0a55ba6dfef2e9 ("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