Commit aceee63
RDMA/bnxt_re: Remove some dead code
If the probe succeeds, then auxiliary_get_drvdata() can't return a NULL
pointer.
So several NULL checks can be removed to simplify code.
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://patch.msgid.link/f02eb630734ee530315dce9f60b078f631ae93d0.1730477345.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Leon Romanovsky <[email protected]>1 parent cf90a4d commit aceee63
1 file changed
+0
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | 303 | | |
307 | 304 | | |
308 | 305 | | |
| |||
316 | 313 | | |
317 | 314 | | |
318 | 315 | | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | 316 | | |
323 | 317 | | |
324 | 318 | | |
| |||
339 | 333 | | |
340 | 334 | | |
341 | 335 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | 336 | | |
346 | 337 | | |
347 | 338 | | |
| |||
1991 | 1982 | | |
1992 | 1983 | | |
1993 | 1984 | | |
1994 | | - | |
1995 | | - | |
1996 | | - | |
1997 | | - | |
1998 | 1985 | | |
1999 | 1986 | | |
2000 | 1987 | | |
| |||
2043 | 2030 | | |
2044 | 2031 | | |
2045 | 2032 | | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | 2033 | | |
2050 | 2034 | | |
2051 | 2035 | | |
| |||
2090 | 2074 | | |
2091 | 2075 | | |
2092 | 2076 | | |
2093 | | - | |
2094 | | - | |
2095 | | - | |
2096 | 2077 | | |
2097 | 2078 | | |
2098 | 2079 | | |
| |||
0 commit comments