diff options
| author | Jason Yan <yanaijie@huawei.com> | 2020-04-18 10:05:05 +0300 |
|---|---|---|
| committer | Kees Cook <keescook@chromium.org> | 2021-03-02 06:19:44 +0300 |
| commit | b924a8197ac7660eb358ed0277bd5b12f9b40fe2 (patch) | |
| tree | f64fe294be97e732b983c16e392b1dfb4c180c56 /lib/pm-notifier-error-inject.c | |
| parent | fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8 (diff) | |
| download | linux-b924a8197ac7660eb358ed0277bd5b12f9b40fe2.tar.xz | |
gcc-plugins: structleak: remove unneeded variable 'ret'
Fix the following coccicheck warning:
scripts/gcc-plugins/structleak_plugin.c:177:14-17: Unneeded variable:
"ret". Return "0" on line 207
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20200418070505.10715-1-yanaijie@huawei.com
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
