[folded-merged] proc-sysctl-add-shared-variables-for-range-check-fix-2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: tipc: remove two unused variables
has been removed from the -mm tree.  Its filename was
     proc-sysctl-add-shared-variables-for-range-check-fix-2.patch

This patch was dropped because it was folded into proc-sysctl-add-shared-variables-for-range-check.patch

------------------------------------------------------
From: Matteo Croce <mcroce@xxxxxxxxxx>
Subject: tipc: remove two unused variables

Remove two variables which are unused after merging 6a33853c5773 and
generate the following warnings:

      CC [M]  net/tipc/sysctl.o
    net/tipc/sysctl.c:42:12: warning: `one' defined but not used [-Wunused-variable]
       42 | static int one = 1;
          |            ^~~
    net/tipc/sysctl.c:41:12: warning: `zero' defined but not used [-Wunused-variable]
       41 | static int zero;
          |            ^~~~

Link: http://lkml.kernel.org/r/20190530091952.4108-1-mcroce@xxxxxxxxxx
Signed-off-by: Matteo Croce <mcroce@xxxxxxxxxx>
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 net/tipc/sysctl.c |    2 --
 1 file changed, 2 deletions(-)

--- a/net/tipc/sysctl.c~proc-sysctl-add-shared-variables-for-range-check-fix-2
+++ a/net/tipc/sysctl.c
@@ -38,8 +38,6 @@
 
 #include <linux/sysctl.h>
 
-static int zero;
-static int one = 1;
 static struct ctl_table_header *tipc_ctl_hdr;
 
 static struct ctl_table tipc_table[] = {
_

Patches currently in -mm which might be from mcroce@xxxxxxxxxx are

proc-sysctl-add-shared-variables-for-range-check.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux