18 Feb, 2016

2 commits

  • The proc_create() and remove_proc_entry() functions do not reference
    their arguments when CONFIG_PROC_FS is disabled, so we get a couple
    of warnings about unused variables in IPVS:

    ipvs/ip_vs_app.c:608:14: warning: unused variable 'net' [-Wunused-variable]
    ipvs/ip_vs_ctl.c:3950:14: warning: unused variable 'net' [-Wunused-variable]
    ipvs/ip_vs_ctl.c:3994:14: warning: unused variable 'net' [-Wunused-variable]

    This removes the local variables and instead looks them up separately
    for each use, which obviously avoids the warning.

    Signed-off-by: Arnd Bergmann
    Fixes: 4c50a8ce2b63 ("netfilter: ipvs: avoid unused variable warning")
    Acked-by: Julian Anastasov
    Signed-off-by: Simon Horman

    Arnd Bergmann
     
  • This have been there for a long time, but does not seem to add value

    Signed-off-by: Yannick Brosseau
    Signed-off-by: Simon Horman

    Yannick Brosseau
     

24 Sep, 2015

34 commits


17 Sep, 2015

1 commit


01 Sep, 2015

1 commit


22 Aug, 2015

2 commits