drivers/net: Use kcalloc or kzalloc
[safe/jmp/linux-2.6] / drivers / net / slip.c
index d92772e..fa434fb 100644 (file)
@@ -1269,7 +1269,7 @@ static int sl_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
 
        case SIOCGLEASE:
                *p = sl->leased;
-       };
+       }
        spin_unlock_bh(&sl->lock);
        return 0;
 }