From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sat, 03 Jun 2017 18:29:20 +0000 Subject: [PATCH 3/9] ARM: OMAP2+: McBSP: Delete an unnecessary variable initialisation in omap_init_mcbsp() Message-Id: <9d9bee0e-01b2-ff5d-1bb4-76b401208cd4@users.sourceforge.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org From: Markus Elfring Date: Sat, 3 Jun 2017 17:54:19 +0200 The local variable "pdata" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index fc04be74e064..53c4a30e2963 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -59,5 +59,5 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) int id, count = 1; char *name = "omap-mcbsp"; struct omap_hwmod *oh_device[2]; - struct omap_mcbsp_platform_data *pdata = NULL; + struct omap_mcbsp_platform_data *pdata; struct platform_device *pdev; -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: [PATCH 3/9] ARM: OMAP2+: McBSP: Delete an unnecessary variable initialisation in omap_init_mcbsp() Date: Sat, 3 Jun 2017 20:29:20 +0200 Message-ID: <9d9bee0e-01b2-ff5d-1bb4-76b401208cd4@users.sourceforge.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Tony Lindgren Cc: kernel-janitors@vger.kernel.org, LKML List-Id: linux-omap@vger.kernel.org From: Markus Elfring Date: Sat, 3 Jun 2017 17:54:19 +0200 The local variable "pdata" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index fc04be74e064..53c4a30e2963 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -59,5 +59,5 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) int id, count = 1; char *name = "omap-mcbsp"; struct omap_hwmod *oh_device[2]; - struct omap_mcbsp_platform_data *pdata = NULL; + struct omap_mcbsp_platform_data *pdata; struct platform_device *pdev; -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Sat, 3 Jun 2017 20:29:20 +0200 Subject: [PATCH 3/9] ARM: OMAP2+: McBSP: Delete an unnecessary variable initialisation in omap_init_mcbsp() In-Reply-To: References: Message-ID: <9d9bee0e-01b2-ff5d-1bb4-76b401208cd4@users.sourceforge.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Markus Elfring Date: Sat, 3 Jun 2017 17:54:19 +0200 The local variable "pdata" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index fc04be74e064..53c4a30e2963 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -59,5 +59,5 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) int id, count = 1; char *name = "omap-mcbsp"; struct omap_hwmod *oh_device[2]; - struct omap_mcbsp_platform_data *pdata = NULL; + struct omap_mcbsp_platform_data *pdata; struct platform_device *pdev; -- 2.13.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751286AbdFCS3u (ORCPT ); Sat, 3 Jun 2017 14:29:50 -0400 Received: from mout.web.de ([212.227.15.14]:56738 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbdFCS3s (ORCPT ); Sat, 3 Jun 2017 14:29:48 -0400 Subject: [PATCH 3/9] ARM: OMAP2+: McBSP: Delete an unnecessary variable initialisation in omap_init_mcbsp() From: SF Markus Elfring To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <9d9bee0e-01b2-ff5d-1bb4-76b401208cd4@users.sourceforge.net> Date: Sat, 3 Jun 2017 20:29:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:LBe7JYegrAmJc+JFpvJMI6+zjoX113SeKw1lzv/wtsJH/cwsFo7 Pb3XWZ5wMdh1YMY9pQmsgJ9fg8PyNVk1pKWLOhYXpymXUl3byAaRNl/Sn+RK9ogc6PD5ea1 02ixpmL73wVqVijF2I5PxJ3t/273flODJaWQe6+KuGuhrAL1qy1kSii/Hl/2M2vAY8LrIV0 iO2qJbzZwLXS6RaDLLjVQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:/wXlzm30vvU=:y6P9rHnt0j+dq+Qh0cv4yr svUdrA+jr13YERvOsDmquNa9QPpmJAZNJtApAUx2hFgwmIEabormcEFFleXBNUwVE6qDQbUdw IW9dQ3Ozyhv3uiGvcjV36t2tOQKGb1M/z+omiD9qAq3vY9org/HX20WijfIBZRR57NJ4NccL8 k7RgwKBwfr48+10gi7wb9pSJILZKNKfgy91sLdGMrFmwSnCaZ5xTfbzCxSOciPP4H+CQrfKED stMvDIyITcwkGgJGnz4TDq9ci7jleOoiqlrMu8yfRz2f5+AZsSUcIAKohDrQQqwFHL1DnefJu wek4Q/tF/xwYVKSlLNj2nTdKYpg6MGn3hnGe95Eqq6xwHqyZNilSPqzSO6QGP7rkiqck4ZEjI tkfbCPZN9e3wNC4JTe4LT+ar+09aCqRb4/VUAu9K9nHWVyyb+NMaN6SEINXNSlvCEeJZrnbBh 6bZaebbDBD1o2Se88WTX8e30gSEodCBFF2zf86m8gih2LzVqqUTXCaoQacu6RmoNa/VU7cOB8 CZkol99Zfy9VpmO61pb2q5zJEa7v1sErHuPZ7iHt+ycZePP3Ygz/HPcyc0DguoM7KaCi5yG8I A0+MySI4i4Cafp/MBprNNOW78D52tCActS2X9zKZGmBgkUIPByfrTEWtQcpwSK0xAD31vkC8k Krem6znATc7IRiWnR8f7SxRZr8Z56zsfSyT4KbDTUBvd6bEYbRVQmJPXF6wjFSznNyKqLbVDP +mNt7zg1JhNP5yR0IOAhuPcdBrUNgjH8337kZau3ZyQTpiMSZ0wy6swyz+90oLP81lsaEaQEf lfOr1Pm Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Sat, 3 Jun 2017 17:54:19 +0200 The local variable "pdata" is reassigned by a statement at the beginning. Thus omit the explicit initialisation. Signed-off-by: Markus Elfring --- arch/arm/mach-omap2/mcbsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index fc04be74e064..53c4a30e2963 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -59,5 +59,5 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) int id, count = 1; char *name = "omap-mcbsp"; struct omap_hwmod *oh_device[2]; - struct omap_mcbsp_platform_data *pdata = NULL; + struct omap_mcbsp_platform_data *pdata; struct platform_device *pdev; -- 2.13.0