caif: Remove redundant null check before kfree in cfctrl.c
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 20 Nov 2012 00:53:58 +0000 (00:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2012 18:48:09 +0000 (13:48 -0500)
commit973b1b9a454c738edbb2eb8d4596014b575dc15c
treeaa4c5d2d6ff737fe3b10a35a0803bc15be31cbd1
parent4babfb9b27dae936c35c1b9f3089346c7a96f593
caif: Remove redundant null check before kfree in cfctrl.c

kfree on a null pointer is a no-op.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfctrl.c