Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751997AbeAPMB1 (ORCPT + 1 other); Tue, 16 Jan 2018 07:01:27 -0500 Received: from mout.web.de ([212.227.17.11]:60960 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751512AbeAPMBZ (ORCPT ); Tue, 16 Jan 2018 07:01:25 -0500 Subject: [PATCH 3/4] mfd/tps65910: Delete an unnecessary variable initialisation in tps65910_sleepinit() From: SF Markus Elfring To: linux-omap@vger.kernel.org, Lee Jones , Tony Lindgren Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <0e5997de-0c43-da8c-8ec6-9c3e593d9f5a@users.sourceforge.net> Date: Tue, 16 Jan 2018 13:01:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:KO2sw0Vb56VnAiOFHGPAaXjRI+mBQKSUVBsdYbKeXlXUMl0moYC 3p6/nEHVPs+v1AuFHTStGJWaYeRyTd1KFu9WEJNjuG8HaeVuc49NDs3wIwXhkqzFYK+j8MG GSgqzxh3aGoHrug9rYBWoE4chNuMfbfwMGU9gizH3Q7RgArnerwTNYGFQuKx8B/W10J4+BE h+hytOJRWxhfKLqOp7oMA== X-UI-Out-Filterresults: notjunk:1;V01:K0:RErbYrUIhkM=:WspPhKas2uT2vTG6opFq5S Fq3RUmXdyx5Qdo5svHeoIi7b7yTlnQ9tZJbl5t0iJBYEvhtfmZst6ZHrFIn7DafSveYyFUyt9 pQiXaDFzRFS5E+7vPhZRCQ4zghf5W9yRoVvG1gIoQDQ66ZpbLAUWCFPoPO1zcuZhX+Bo9a4+N mjj6L6T5xVTSsBjuDx3vN/ZoRS3MuYxIl1Datf8LUv7uA1ARJt9BQHFoxjpL7HgJOspaBnVpn oCZDmEWFoAJBAl4snr7jFZlWATRUYZ5Y1tJ9+xFTZ/wu4p67Plvsy2yb1Buc49GLuCVtbVzoG rQQ36TjhVzzZI35Du3o03Wl9lUwbKZJQBLlSZtPSHOw92dJSAbBEJNru/kp85LLMlFoXKs1Rf wMkf+tj/kkj6rW0EWKdAK8qAu96YtSbOaXS8DBJC6J5XBFpIhKcybIytAv1pmicxu/CeyxeDQ cI/h+b332wgDcz5pRSpXWF2q27OI+yLBJgcI9urWdzZ45YAeuR+mwDJM9Ge3Mb5gm+X5nb1LS xh1BPCsDCiNIa3MkAV1CfdWIOF8h7DGh1jkYIjECXhWDLcaFLytgYxKKa/ZX/tlfnXFiohEUd 0ERTnUcg4IX5MhPhAzxfFOrJheyfeeIFurVAALZ0F7yt6NQOE/gWb+FIA41DVqLej3tA1o4YV 29DgZvAFzUCC5aAt4g7ZFDDBj1Foce3cWf+ButgVXYdCKLMr0c52388Kk6wItNshB/tFTWO3O te/pXpcLGpgvsT4QuiRidsmiv+FaSO3VksEoczkleV2ec0+4EoQ7DYQmbfHTduDLnrvKjn6Po HR1e+wvi64XqNx49R9ngv64meR33ERiZSuw0ObvZyAri5iPFbE= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Tue, 16 Jan 2018 12:10:49 +0100 The local variable "dev" will be reassigned by a following statement. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/mfd/tps65910.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/tps65910.c b/drivers/mfd/tps65910.c index 80ea1474c654..7e7d3d1642c6 100644 --- a/drivers/mfd/tps65910.c +++ b/drivers/mfd/tps65910.c @@ -312,7 +312,7 @@ static int tps65910_ck32k_init(struct tps65910 *tps65910, static int tps65910_sleepinit(struct tps65910 *tps65910, struct tps65910_board *pmic_pdata) { - struct device *dev = NULL; + struct device *dev; int ret; dev = tps65910->dev; -- 2.15.1