lkml.org 
[lkml]   [2012]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init.
    Date
    This is to address the following warning during compilation time:

    drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
    drivers/mfd/da9052-core.c:646: warning: unused variable ‘desc’

    This variable is indeed no longer in use (change can be traced back
    to commit: 8614419451d88bf99fff7f5e468fe45f8450891e).

    Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>
    ---
    drivers/mfd/da9052-core.c | 1 -
    1 files changed, 0 insertions(+), 1 deletions(-)

    diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
    index 7776aff..88c2c26 100644
    --- a/drivers/mfd/da9052-core.c
    +++ b/drivers/mfd/da9052-core.c
    @@ -643,7 +643,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config);
    int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
    {
    struct da9052_pdata *pdata = da9052->dev->platform_data;
    - struct irq_desc *desc;
    int ret;

    if (pdata && pdata->init != NULL)
    --
    1.7.2.5
    --
    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: 2012-05-23 19:21    [W:0.038 / U:1.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site