Commit f96f700
net: ks8851: Inline ks8851_rx_skb()
Both ks8851_rx_skb_par() and ks8851_rx_skb_spi() call netif_rx(skb),
inline the netif_rx(skb) call directly into ks8851_common.c and drop
the .rx_skb callback and ks8851_rx_skb() wrapper. This removes one
indirect call from the driver, no functional change otherwise.
Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20240405203204.82062-1-marex@denx.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 7e68708 commit f96f700
File tree
4 files changed
+1
-36
lines changed- drivers/net/ethernet/micrel
4 files changed
+1
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | 371 | | |
373 | 372 | | |
374 | 373 | | |
| |||
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
426 | | - | |
427 | | - | |
428 | 425 | | |
429 | 426 | | |
430 | 427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 234 | | |
245 | 235 | | |
246 | 236 | | |
| |||
309 | 299 | | |
310 | 300 | | |
311 | 301 | | |
312 | | - | |
| 302 | + | |
313 | 303 | | |
314 | 304 | | |
315 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | 213 | | |
224 | 214 | | |
225 | 215 | | |
| |||
298 | 288 | | |
299 | 289 | | |
300 | 290 | | |
301 | | - | |
302 | 291 | | |
303 | 292 | | |
304 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 301 | | |
312 | 302 | | |
313 | 303 | | |
| |||
435 | 425 | | |
436 | 426 | | |
437 | 427 | | |
438 | | - | |
439 | 428 | | |
440 | 429 | | |
441 | 430 | | |
| |||
0 commit comments