Commit 2a656cb
of: unittest: Remove error printing on OOM
There is no need to print a backtrace or other error message if
kzalloc(), kmemdup(), or devm_kzalloc() fails, as the memory allocation
core already takes care of that.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Rob Herring <[email protected]>1 parent 6f7dc9a commit 2a656cb
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
| 1202 | + | |
1206 | 1203 | | |
1207 | | - | |
| 1204 | + | |
1208 | 1205 | | |
1209 | 1206 | | |
1210 | 1207 | | |
| |||
1845 | 1842 | | |
1846 | 1843 | | |
1847 | 1844 | | |
1848 | | - | |
1849 | | - | |
| 1845 | + | |
1850 | 1846 | | |
1851 | | - | |
1852 | 1847 | | |
1853 | 1848 | | |
1854 | 1849 | | |
| |||
0 commit comments