Repository navigation
Commit f7c04f1
nvmem: remove inline in drivers/nvmem/core.c
These two functions are defined in .c file, but called just once
(at least for now). So, the compiler will fold them into their
callers even without the "inline" markers.
However, this kind of optimization should not be done by hand.
It is compiler's judge after all.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 2bd6bf0 commit f7c04f1
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
| 948 | + | |
950 | 949 | | |
951 | 950 | | |
952 | 951 | | |
| |||
1027 | 1026 | | |
1028 | 1027 | | |
1029 | 1028 | | |
1030 | | - | |
1031 | | - | |
| 1029 | + | |
| 1030 | + | |
1032 | 1031 | | |
1033 | 1032 | | |
1034 | 1033 | | |
| |||
0 commit comments