Use the __unsafe() macro instead.
Noticed by Miles Lane.
Signed-off-by: David S. Miller <davem@davemloft.net>
{
/* it's currently unsafe to unload this module */
/* if forced, worst case is that rmmod hangs */
{
/* it's currently unsafe to unload this module */
/* if forced, worst case is that rmmod hangs */
- if (THIS_MODULE != NULL)
- THIS_MODULE->unsafe = 1;
- return pci_module_init(&ioat_pci_drv);
+ pci_module_init(&ioat_pci_drv);
}
module_init(ioat_init_module);
}
module_init(ioat_init_module);