This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/net
Dan Carpenter 9bfca3c6e5 caif: cleanup: remove duplicate checks
"phyinfo" can never be null here because we assigned it an address, so I
removed both the assert and the second check inside the if statement.  I
removed the "phyinfo->phy_layer != NULL" check as well because that was
asserted earlier.

Walter Harms suggested I move the "phyinfo->phy_ref_count++;" outside
the if condition for readability, so I have done that.

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
..
2010-04-20 16:37:13 -07:00
2010-05-31 00:24:11 -07:00
2010-05-31 00:24:01 -07:00
2010-05-31 00:24:14 -07:00
2010-05-17 23:23:13 -07:00
2010-04-23 16:37:33 -07:00
2010-05-28 03:41:17 -07:00
2010-04-20 16:37:13 -07:00
2010-05-29 00:18:48 -07:00
2010-04-20 16:37:13 -07:00
2009-07-12 12:22:34 -07:00
2010-05-21 14:40:01 -04:00
2010-05-17 17:39:28 -07:00