[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM7PR04MB701693A061EF3DF80ABFA322EDF00@AM7PR04MB7016.eurprd04.prod.outlook.com>
Date: Mon, 23 Mar 2020 09:15:25 +0000
From: Peng Ma <peng.ma@....com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>
CC: "a.zummo@...ertech.it" <a.zummo@...ertech.it>,
"linux-rtc@...r.kernel.org" <linux-rtc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Leo Li <leoyang.li@....com>, Ran Wang <ran.wang_1@....com>,
Biwen Li <biwen.li@....com>
Subject: RE: [EXT] Re: [PATCH] rtc: fsl-ftm-alarm: remove the useless variable
>-----Original Message-----
>From: Alexandre Belloni <alexandre.belloni@...tlin.com>
>Sent: 2020年3月23日 16:29
>To: Peng Ma <peng.ma@....com>
>Cc: a.zummo@...ertech.it; linux-rtc@...r.kernel.org;
>linux-kernel@...r.kernel.org; Leo Li <leoyang.li@....com>; Ran Wang
><ran.wang_1@....com>; Biwen Li <biwen.li@....com>
>Subject: [EXT] Re: [PATCH] rtc: fsl-ftm-alarm: remove the useless variable
>
>Caution: EXT Email
>
>On 23/03/2020 15:29:56+0800, Peng Ma wrote:
>> Remove the useless variable to fixed the below build warning:
>> drivers/rtc/rtc-fsl-ftm-alarm.c: In function 'ftm_rtc_probe':
>> drivers/rtc/rtc-fsl-ftm-alarm.c:246:22: warning: unused variable 'np'
>[-Wunused-variable]
>> struct device_node *np = pdev->dev.of_node;
>>
>> Signed-off-by: Peng Ma <peng.ma@....com>
>> ---
>> drivers/rtc/rtc-fsl-ftm-alarm.c | 1 -
>> 1 file changed, 1 deletion(-)
>>
>
>I squashed it in the offending commit.
[Peng Ma] OK,Got it, thanks
Best Regards,
Peng
>--
>Alexandre Belloni, Bootlin
>Embedded Linux and Kernel engineering
>https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbootlin.c
>om&data=02%7C01%7Cpeng.ma%40nxp.com%7Cd3d60d9c26524805b352
>08d7cf043999%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6372054
>89372736346&sdata=wb4bBcP8dMbriAdZFnSgl44JokZ0AK6MsGa7z6CWGlg
>%3D&reserved=0
Powered by blists - more mailing lists