Commit 4eb9eda
net/af_iucv: clean up a try_then_request_module()
Use IS_ENABLED(CONFIG_IUCV) to determine whether the iucv_if symbol
is available, and let depmod deal with the module dependency.
This was introduced back with commit 6fcd61f ("af_iucv: use
loadable iucv interface"). And to avoid sprinkling IS_ENABLED() over
all the code, we're keeping the indirection through pr_iucv->...().
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 10d6393 commit 4eb9eda
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2278 | 2278 | | |
2279 | 2279 | | |
2280 | 2280 | | |
2281 | | - | |
| 2281 | + | |
2282 | 2282 | | |
2283 | 2283 | | |
2284 | 2284 | | |
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
2288 | 2288 | | |
2289 | | - | |
2290 | | - | |
2291 | | - | |
2292 | | - | |
2293 | | - | |
| 2289 | + | |
2294 | 2290 | | |
2295 | 2291 | | |
2296 | 2292 | | |
| |||
2324 | 2320 | | |
2325 | 2321 | | |
2326 | 2322 | | |
2327 | | - | |
2328 | | - | |
2329 | 2323 | | |
2330 | 2324 | | |
2331 | 2325 | | |
2332 | 2326 | | |
2333 | 2327 | | |
2334 | | - | |
| 2328 | + | |
2335 | 2329 | | |
2336 | | - | |
2337 | | - | |
2338 | 2330 | | |
2339 | 2331 | | |
2340 | 2332 | | |
| |||
0 commit comments