linux_dsm_epyc7002/net/caif
Dan Carpenter f5d72af9f3 caif: remove unneeded null check in caif_connect()
We already dereferenced uaddr towards the start of the function when we
checked that "uaddr->sa_family != AF_CAIF".  Both the check here and the
earlier check were added in bece7b2398: "caif: Rewritten socket
implementation".  Before that patch, we assumed that we recieved a valid
pointer for uaddr, and based on that, I have removed this check.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-05-31 00:24:16 -07:00
..
caif_config_util.c net-caif: add CAIF device registration functionality 2010-03-30 19:08:47 -07:00
caif_dev.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
caif_socket.c caif: remove unneeded null check in caif_connect() 2010-05-31 00:24:16 -07:00
cfcnfg.c net/caif: Use kzalloc 2010-05-17 22:55:09 -07:00
cfctrl.c caif: Bugfix - use standard Linux lists 2010-05-23 23:57:41 -07:00
cfdbgl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfdgml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cffrml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfmuxl.c caif: Bugfix - missing spin_unlock 2010-05-23 23:57:43 -07:00
cfpkt_skbuff.c caif: Bugfix - handle mem-allocation failures 2010-05-23 23:57:42 -07:00
cfrfml.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfserl.c caif: unlock on error path in cfserl_receive() 2010-05-29 00:18:50 -07:00
cfsrvl.c caif: Bugfix - handle mem-allocation failures 2010-05-23 23:57:42 -07:00
cfutill.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfveil.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
cfvidl.c net-caif: add CAIF core protocol stack 2010-03-30 19:08:46 -07:00
chnl_net.c caif: Bugfixes in CAIF netdevice for close and flow control 2010-04-28 12:55:14 -07:00
Kconfig net-caif: drop redundant Kconfig entries 2010-05-23 23:11:08 -07:00
Makefile net-caif: add CAIF Kconfig and Makefiles 2010-03-30 19:08:49 -07:00