caif: code cleanup
authorStephen Hemminger <shemminger@vyatta.com>
Mon, 11 Apr 2011 10:43:50 +0000 (10:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2011 22:08:47 +0000 (15:08 -0700)
commit73d6ac633c6c0ca703f90db0b808d9593e46aef6
tree738fb16f97e24288f9db9c6b43b4bcee4f794dc6
parent1c01a80cfec6f806246f31ff2680cd3639b30e67
caif: code cleanup

Cleanup of new CAIF code.
  * make local functions static
  * remove code that is never used
  * expand get_caif_conf() since wrapper is no longer needed
  * make args to comparison functions const
  * rename connect_req_to_link_param to keep exported names
    consistent

Compile tested only.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
include/net/caif/caif_dev.h
include/net/caif/cfctrl.h
include/net/caif/cfmuxl.h
include/net/caif/cfpkt.h
include/net/caif/cfsrvl.h
net/caif/caif_config_util.c
net/caif/caif_dev.c
net/caif/cfcnfg.c
net/caif/cfctrl.c
net/caif/cfmuxl.c
net/caif/cfpkt_skbuff.c
net/caif/cfsrvl.c