Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932478AbdCJPap (ORCPT ); Fri, 10 Mar 2017 10:30:45 -0500 Received: from mail-qk0-f175.google.com ([209.85.220.175]:34259 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754423AbdCJPam (ORCPT ); Fri, 10 Mar 2017 10:30:42 -0500 MIME-Version: 1.0 In-Reply-To: <20170309170243.27388-1-romain.izard.pro@gmail.com> References: <20170309170243.27388-1-romain.izard.pro@gmail.com> From: Romain Izard Date: Fri, 10 Mar 2017 16:30:20 +0100 X-Google-Sender-Auth: Cwd-umKZC32VjAGKze7O-ZaEwvA Message-ID: Subject: Re: [PATCH v1] usb: gadget: udc: atmel: Remove an unused local variable To: linux-usb@vger.kernel.org, LKML , linux-arm-kernel , Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman Cc: Romain Izard Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 525 Lines: 13 2017-03-09 18:02 GMT+01:00 Romain Izard : > The local variable ept_cfg is not used anymore in usba_ep_enable. > Use ep->ept_cfg in the debug function to remove a warning when building > with dynamic debug enabled. > > Signed-off-by: Romain Izard > Fixes: 741d2558bf0a ("usb: gadget: udc: atmel: Update endpoint allocation scheme") Sorry for the noise, 4242820277b5 ("usb: gadget: udc: atmel: fix debug output") in Greg KH's tree already fixed this. -- Romain Izard