drivers/net: fix up function prototypes after __dev* removals
The __dev* removal patches for the network drivers ended up messing up the function prototypes for a bunch of drivers. This patch fixes all of them back up to be properly aligned. Bonus is that this almost removes 100 lines of code, always a nice surprise. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
此提交包含在:
@@ -3994,8 +3994,7 @@ static inline char *func_name(struct be_adapter *adapter)
|
||||
return be_physfn(adapter) ? "PF" : "VF";
|
||||
}
|
||||
|
||||
static int be_probe(struct pci_dev *pdev,
|
||||
const struct pci_device_id *pdev_id)
|
||||
static int be_probe(struct pci_dev *pdev, const struct pci_device_id *pdev_id)
|
||||
{
|
||||
int status = 0;
|
||||
struct be_adapter *adapter;
|
||||
|
新增問題並參考
封鎖使用者