Commit 50d77ab
drivers: can: mcan: assume can_send() always provides callback
Given the recent change to the CAN controller can_send() API wrapper,
assume that a callback is always provided at the driver level.
This saves approximately 500 bytes of SRAM on the lpcxpressso55s16 board
when running in default configuration.
Signed-off-by: Henrik Brix Andersen <[email protected]>1 parent d3427d9 commit 50d77ab
2 files changed
+3
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
| |||
558 | 554 | | |
559 | 555 | | |
560 | 556 | | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
| 557 | + | |
566 | 558 | | |
567 | 559 | | |
568 | 560 | | |
| |||
814 | 806 | | |
815 | 807 | | |
816 | 808 | | |
| 809 | + | |
| 810 | + | |
817 | 811 | | |
818 | 812 | | |
819 | 813 | | |
| |||
870 | 864 | | |
871 | 865 | | |
872 | 866 | | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | 867 | | |
879 | 868 | | |
880 | 869 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
| |||
0 commit comments