Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752510AbdLFRzW (ORCPT ); Wed, 6 Dec 2017 12:55:22 -0500 Received: from aserp2120.oracle.com ([141.146.126.78]:39368 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752172AbdLFRzJ (ORCPT ); Wed, 6 Dec 2017 12:55:09 -0500 Subject: Re: [PATCH] memory: ti-emif-sram: remove unused variable To: Arnd Bergmann , Santosh Shilimkar Cc: Tony Lindgren , Dave Gerlach , linux-kernel@vger.kernel.org References: <20171206141322.598156-1-arnd@arndb.de> From: "santosh.shilimkar@oracle.com" Organization: Oracle Corporation Message-ID: <40afbdea-365f-3289-1a3b-7fd171a7db60@oracle.com> Date: Wed, 6 Dec 2017 09:55:00 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171206141322.598156-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8737 signatures=668643 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712060255 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 463 Lines: 11 On 12/6/17 6:13 AM, Arnd Bergmann wrote: > The newly introduced driver causes a harmless warning for a variable > that was evidently never used: > > drivers/memory/ti-emif-pm.c: In function 'ti_emif_remove': > drivers/memory/ti-emif-pm.c:303:17: error: unused variable 'dev' [-Werror=unused-variable] > > Fixes: 8428e5ad750d ("memory: ti-emif-sram: introduce relocatable suspend/resume handlers") > Signed-off-by: Arnd Bergmann > --- Applied !!