]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hfi1: Fix build error with debugfs disabled
authorDoug Ledford <dledford@redhat.com>
Tue, 15 May 2018 18:19:19 +0000 (14:19 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 15 May 2018 18:24:18 +0000 (14:24 -0400)
commita2d267117d1f48c82ba55918a6a88c87c219f6bf
treece3841061842e34e6e0cc4aa5871334fb617d0b2
parent0db58519c273b14512df232305eb3c500ba2c0f7
RDMA/hfi1: Fix build error with debugfs disabled

A recent patch set to rework the usage of debugfs and to add fault
injection capabilities via debugfs files to the hfi1 driver introduced a
build error that only shows up when debugfs is fully disabled.  The
patchset mistakenly defines some empty stub functions in two different
headers when debugfs is disabled.  Remove the set that shouldn't have
been there to resolve the issue.

Fixes: e4957a479c48 ("IB/hfi1: Rework fault injection machinery")
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/debugfs.h