]> 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)
commit8dd297445abaed4788ec14864510945ee472b8b9
tree8f893d7cc4d16d17e23b1735c232d0232f5894ab
parentd3e6b15423ea6317db5683ef06c5c4e2c8974bc1
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: 6256b69d81a14b ("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