connector: simplify the return expression of cn_add_callback()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 21 Sep 2020 13:10:06 +0000 (21:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:48:29 +0000 (13:48 -0700)
commitfe6bc89abe2c2fb93157627def365f33cc05a05e
tree471c337897ac255f0cb78fb24361d175332aac77
parentd4b717dd2009f9003a5b4844a0e0ae0370d4c506
connector: simplify the return expression of cn_add_callback()

Simplify the return expression.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/connector.c