Staging/cxt1e1:Removing parantheses surrounding return argument

This patch fixes the error 'return is not a function, parentheses are
not required' that is found by using checkpatch.pi

Signed-off-by: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dulshani Gunawardhana 2013-05-22 23:30:45 +05:30 committed by Greg Kroah-Hartman
parent ee1803cf20
commit bcf636d126
3 changed files with 6 additions and 6 deletions

View File

@ -62,7 +62,7 @@ lbo_tbl_lkup(int t1, int lbo) {
lbo = CFG_LBO_E120;
}
/* make index ZERO relative */
return (lbo - 1);
return lbo - 1;
}
void init_comet(void *ci, comet_t *comet, u_int32_t port_mode, int clockmaster,

View File

@ -202,7 +202,7 @@ sd_line_is_ok (void *user)
{
struct net_device *ndev = (struct net_device *) user;
return (netif_carrier_ok (ndev));
return netif_carrier_ok (ndev);
}
void
@ -246,7 +246,7 @@ sd_queue_stopped (void *user)
{
struct net_device *ndev = (struct net_device *) user;
return (netif_queue_stopped (ndev));
return netif_queue_stopped (ndev);
}
void sd_recv_consume(void *token, size_t len, void *user)

View File

@ -123,7 +123,7 @@ c4_find_chan (int channum)
{
if ((ch->state != UNASSIGNED) &&
(ch->channum == channum))
return (ch);
return ch;
}
}
return 0;
@ -942,7 +942,7 @@ c4_set_port (ci_t *ci, int portnum)
if ((ret = c4_wq_port_init (pi))) /* create/init
* workqueue_struct */
return (ret);
return ret;
}
init_comet (ci, pi->cometbase, pp->port_mode, 1 /* clockmaster == true */ , pp->portP);
@ -1624,7 +1624,7 @@ wanpmcC4T1E1_getBaseAddress (int cardID, int deviceID)
}
ci = ci->next; /* next board, if any */
}
return (base);
return base;
}
#endif /*** CONFIG_SBE_PMCC4_NCOMM ***/