ocxl: Make ocxl_remove() static
Fix sparse warning: drivers/misc/ocxl/pci.c:44:6: warning: symbol 'ocxl_remove' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Родитель
d667edc01b
Коммит
00b0cdbbc8
|
@ -41,7 +41,7 @@ static int ocxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ocxl_remove(struct pci_dev *dev)
|
static void ocxl_remove(struct pci_dev *dev)
|
||||||
{
|
{
|
||||||
struct ocxl_fn *fn;
|
struct ocxl_fn *fn;
|
||||||
struct ocxl_afu *afu;
|
struct ocxl_afu *afu;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче