- remove return statement at the end of void function - add blank line after declaration Signed-off-by: Sorin Facaoaru <work@xxxxxxxx> --- drivers/staging/slicoss/slicoss.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index f35fa3d..56ca3b6 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -1982,7 +1982,6 @@ static void slic_rcv_handle_error(struct adapter *adapter, adapter->if_events.uflow802++; } } - return; } #define TCP_OFFLOAD_FRAME_PUSHFLAG 0x10000000 @@ -2455,6 +2454,7 @@ static void slic_entry_remove(struct pci_dev *pcidev) adapter->allocated = 0; if (!card->adapters_allocated) { struct sliccard *curr_card = slic_global.slic_card; + if (curr_card == card) { slic_global.slic_card = card->next; } else { @@ -2551,6 +2551,7 @@ static int slic_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) case SIOCSLICTRACEDUMP: { u32 value; + DBG_IOCTL("slic_ioctl SIOCSLIC_TRACE_DUMP\n"); if (copy_from_user(data, rq->ifr_data, 28)) { -- 1.9.1 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel