NTB: namespacecheck cleanups
Declare ntb_bus_type static to remove it from name space, and remove unused ntb_get_max_spads function. Found via `make namespacecheck`. Signed-off-by: Jon Mason <jon.mason@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
此提交包含在:
@@ -212,7 +212,7 @@ static int ntb_client_remove(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct bus_type ntb_bus_type = {
|
||||
static struct bus_type ntb_bus_type = {
|
||||
.name = "ntb_bus",
|
||||
.match = ntb_match_bus,
|
||||
.probe = ntb_client_probe,
|
||||
|
新增問題並參考
封鎖使用者