You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
drivers/net: eliminate irq handler impossible checks, needless casts
- Eliminate check for irq handler 'dev_id==NULL' where the condition never occurs. - Eliminate needless casts to/from void* Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
@@ -747,7 +747,7 @@ static int lan_saa9730_rx(struct net_device *dev)
|
||||
|
||||
static irqreturn_t lan_saa9730_interrupt(const int irq, void *dev_id)
|
||||
{
|
||||
struct net_device *dev = (struct net_device *) dev_id;
|
||||
struct net_device *dev = dev_id;
|
||||
struct lan_saa9730_private *lp = netdev_priv(dev);
|
||||
|
||||
if (lan_saa9730_debug > 5)
|
||||
|
||||
Reference in New Issue
Block a user