lkml.org 
[lkml]   [2006]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [-mm patch] drivers/char/pc8736x_gpio.c: remove unused static functions
    Adrian Bunk wrote:
    > On Thu, Jul 13, 2006 at 10:48:00PM -0700, Andrew Morton wrote:
    >
    >> ...
    >> Changes since 2.6.18-rc1-mm1:
    >> ...
    >> +gpio-drop-vtable-members-gpio_set_high-gpio_set_low.patch
    >> ...
    >> Misc fixes and updates and cleanups.
    >> ...
    >>
    >
    > This patch removes two no longer used static functions fixing the
    > following gcc warnings:
    >

    Oops. I thought Id acked this, but it seems not, til now.

    > <-- snip -->
    >
    > ...
    > CC drivers/char/pc8736x_gpio.o
    > drivers/char/pc8736x_gpio.c:192: warning: #pc8736x_gpio_set_high# defined but not used
    > drivers/char/pc8736x_gpio.c:197: warning: #pc8736x_gpio_set_low# defined but not used
    > ...
    >
    > <-- snip -->
    >
    > Signed-off-by: Adrian Bunk <bunk@stusta.de>
    >
    Acked-by: Jim Cromie <jim.cromie@gmail.com>
    > ---
    >
    > drivers/char/pc8736x_gpio.c | 10 ----------
    > 1 file changed, 10 deletions(-)
    >
    > --- linux-2.6.18-rc1-mm2-full/drivers/char/pc8736x_gpio.c.old 2006-07-15 01:38:59.000000000 +0200
    > +++ linux-2.6.18-rc1-mm2-full/drivers/char/pc8736x_gpio.c 2006-07-15 01:39:10.000000000 +0200
    > @@ -188,16 +188,6 @@
    > pc8736x_gpio_shadow[port] = val;
    > }
    >
    > -static void pc8736x_gpio_set_high(unsigned index)
    > -{
    > - pc8736x_gpio_set(index, 1);
    > -}
    > -
    > -static void pc8736x_gpio_set_low(unsigned index)
    > -{
    > - pc8736x_gpio_set(index, 0);
    > -}
    > -
    > static int pc8736x_gpio_current(unsigned minor)
    > {
    > int port, bit;
    >
    >
    >

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-30 18:51    [W:8.790 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site