Mac/m68k sonic: Kill warning and remainings of 2.2-style flow control
int __init macsonic_init(struct net_device* dev)
{
- struct sonic_local* lp;
+ struct sonic_local* lp = NULL;
int i;
/* Allocate the entire chunk of memory for the descriptors.
if (sonic_debug > 2)
printk("sonic_send_packet: skb=%p, dev=%p\n", skb, dev);
- /*
- * Block a timer-based transmit from overlapping. This could better be
- * done with atomic_swap(1, dev->tbusy), but set_bit() works as well.
- */
- if (test_and_set_bit(0, (void *) &dev->tbusy) != 0) {
- printk("%s: Transmitter access conflict.\n", dev->name);
- return 1;
- }
-
/*
* Map the packet data into the logical DMA address space
*/