fix-code-style-warning.patch removed from -mm tree
The patch titled
Subject: kernel/sysctl.c: code cleanups
has been removed from the -mm tree. Its filename was
fix-code-style-warning.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Ola N. Kaldestad" <[email protected]>
Subject: kernel/sysctl.c: code cleanups
Remove unnecessary else block, remove redundant return and call to kfree in if block.
Signed-off-by Ola N. Kaldestad <[email protected]>
Acked-by Kees Cook <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/sysctl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)
kernel/sysctl.c renamed from kernel/sysctl.c~fix-code-style-warning +3 -5
@@ -3127,14 +3127,12 @@ int proc_do_large_bitmap(struct ctl_tabl else bitmap_copy(bitmap, tmp_bitmap, bitmap_len); } -kfree (tmp_bitmap); *lenp -= left; *ppos += *lenp; -return 0 ; - }else { -kfree (tmp_bitmap); -return err; } + +kfree (tmp_bitmap); +return err; }#else /* CONFIG_PROC_SYSCTL */
_
Patches currently in -mm which might be from [email protected] are