Message ID | 1491286653-31193-8-git-send-email-amit.pundir@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp48158qgd; Mon, 3 Apr 2017 23:17:55 -0700 (PDT) X-Received: by 10.84.204.136 with SMTP id b8mr25932408ple.176.1491286675216; Mon, 03 Apr 2017 23:17:55 -0700 (PDT) Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si746909pgf.57.2017.04.03.23.17.55; Mon, 03 Apr 2017 23:17:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751801AbdDDGRy (ORCPT <rfc822;amit.pundir@linaro.org> + 6 others); Tue, 4 Apr 2017 02:17:54 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:34650 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751074AbdDDGRy (ORCPT <rfc822;stable@vger.kernel.org>); Tue, 4 Apr 2017 02:17:54 -0400 Received: by mail-pg0-f54.google.com with SMTP id 21so142755385pgg.1 for <stable@vger.kernel.org>; Mon, 03 Apr 2017 23:17:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LbXlpECKUS8/0IvUj99Xd1nUAoEFknsi8jtAdkiYLeg=; b=derxYS0WT31PBOZSFGnEIcnvShSBoehvNLp5w921zb+hAjzD9HJHbeVztQgvoH+Rqc tBbsip+Zp5qqcOmc3dviyLDchOa14MwjjLwx5+2RJ5iWStBkvrTClNlVuZQ8Ux2uC0Oj uq0dQyBvY2+lEFKN/z+epR7GW2iPWbQNqxAn4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LbXlpECKUS8/0IvUj99Xd1nUAoEFknsi8jtAdkiYLeg=; b=pPpf04Zex52fsc9Xk7ItBw79lwLB+cJE3MKbksUR8zWpZqisOir/UzRdW2KD1vNhu8 zWz/2M2an9MVicJuAARYC6+CC63DrWKW1iHp24yJ/psYrNDsab8kc8rT/Ui4xN1p7Bn3 EM8W3jgJbdYN+gUxmOWMGaU/ZpZ73N4O3yuCyw5hgUnRbNaZto7Y2+cCs5Dj9/ufKyhU e7IvlaG0wcsQTmaVKjPZvSqkxH3HNd63fsi1t+fDsvnfTyTX5ygHscINEspCtt1ZUcv6 HvXZF0SMfPcqpGT6hdWkwulKAaPG4h9NWYwIT/hlHqJUk3Q0q8g6D4c4/tfZ/xUb8tqs dfJQ== X-Gm-Message-State: AFeK/H2vy3X1/YRGY2GYuxLC4NO7+73XRdA4MR74xvAr9IlGB4J7lX3lVVMtwNYZPzXN2AMb X-Received: by 10.99.115.6 with SMTP id o6mr21383045pgc.216.1491286673279; Mon, 03 Apr 2017 23:17:53 -0700 (PDT) Received: from localhost.localdomain ([106.51.240.246]) by smtp.gmail.com with ESMTPSA id l126sm29224804pfl.56.2017.04.03.23.17.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Apr 2017 23:17:52 -0700 (PDT) From: Amit Pundir <amit.pundir@linaro.org> To: gregkh@linuxfoundation.org Cc: stable@vger.kernel.org, John Youn <johnyoun@synopsys.com>, Felipe Balbi <felipe.balbi@linux.intel.com> Subject: [PATCH 17/33] usb: dwc2: Remove unnecessary kfree Date: Tue, 4 Apr 2017 11:47:31 +0530 Message-Id: <1491286653-31193-8-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491286653-31193-1-git-send-email-amit.pundir@linaro.org> References: <1491286653-31193-1-git-send-email-amit.pundir@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index df5a065..1b6f5e1 100644 --- a/drivers/usb/dwc2/hcd.c +++ b/drivers/usb/dwc2/hcd.c @@ -5184,7 +5184,6 @@ int dwc2_hcd_init(struct dwc2_hsotg *hsotg, int irq) error2: usb_put_hcd(hcd); error1: - kfree(hsotg->core_params); #ifdef CONFIG_USB_DWC2_TRACK_MISSED_SOFS kfree(hsotg->last_frame_num_array);