lkml.org 
[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] mfd: (wl1273-core) Remove unused variable
    Date
    This commit fixes the following build warning:

    drivers/mfd/wl1273-core.c: In function wl1273_fm_set_volume:
    drivers/mfd/wl1273-core.c:156: warning: unused variable var

    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    ---
    drivers/mfd/wl1273-core.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c
    index 04914f2..37af778 100644
    --- a/drivers/mfd/wl1273-core.c
    +++ b/drivers/mfd/wl1273-core.c
    @@ -153,7 +153,6 @@ out:
    */
    static int wl1273_fm_set_volume(struct wl1273_core *core, unsigned int volume)
    {
    - u16 val;
    int r;

    if (volume > WL1273_MAX_VOLUME)
    --
    1.7.1


    \
     
     \ /
      Last update: 2011-05-26 08:53    [W:0.019 / U:32.332 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site