Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755021AbcJZOYr (ORCPT ); Wed, 26 Oct 2016 10:24:47 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:35910 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932320AbcJZOYo (ORCPT ); Wed, 26 Oct 2016 10:24:44 -0400 From: Kirill Esipov To: linux-kernel@vger.kernel.org Cc: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, b-liu@ti.com, sergei.shtylyov@cogentembedded.com, Kirill Esipov Subject: [PATCH v3] usb: musb: remove duplicated actions Date: Wed, 26 Oct 2016 17:24:27 +0300 Message-Id: <1477491867-5253-1-git-send-email-yesipov@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 864 Lines: 27 Removing unnecessary duplicated actions that we've got while merging: 19915e623458 ("Merge 4.1-rc7 into usb-next") Signed-off-by: Kirill Esipov --- drivers/usb/musb/musb_core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 27dadc0..2b04f07 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2120,12 +2120,6 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl) if (musb->ops->ep_select) musb->io.ep_select = musb->ops->ep_select; - /* At least tusb6010 has its own offsets */ - if (musb->ops->ep_offset) - musb->io.ep_offset = musb->ops->ep_offset; - if (musb->ops->ep_select) - musb->io.ep_select = musb->ops->ep_select; - if (musb->ops->fifo_mode) fifo_mode = musb->ops->fifo_mode; else -- 2.7.4