From patchwork Sun Mar 4 14:04:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xose Vazquez Perez X-Patchwork-Id: 10257673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD875602BD for ; Sun, 4 Mar 2018 14:05:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3F03287CB for ; Sun, 4 Mar 2018 14:05:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 901DA287E2; Sun, 4 Mar 2018 14:05:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 848F6287CB for ; Sun, 4 Mar 2018 14:05:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752543AbeCDOFC (ORCPT ); Sun, 4 Mar 2018 09:05:02 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:39437 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbeCDOFC (ORCPT ); Sun, 4 Mar 2018 09:05:02 -0500 Received: by mail-wm0-f66.google.com with SMTP id i3so10783407wmi.4 for ; Sun, 04 Mar 2018 06:05:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=PM7BjAW26w8ejeTPK58Ffb/3BTRId4YGZdp1y9g2j08=; b=gOlviWmKzMrn3YbftcIaLGd7KSF4xJSEbA+qyBtkf/WOtzfyErGe9jtYKoOyRCq2Bv 1aSHAdCxnsvMgLYR31UpHmyVZUHwlGMMk7ssN5V+yhS9pAIoCPJGXepGVCBb0XBtqi0j 7k4NjG2LV7m294cIjVNpMBNO1qbBmO4I0nFWWRAsIKMDXCt2SrlXUAZK6Bdi4+zx++Hd JKk2+e+mY+LToQAnoYj4cecJAlUlLwERUpOpiQ1saMxPHCqMsJiHw72sYfb5GU7cSH+3 v6/1kv6tSEm3uIahGlHviejjZYIh8JqS7AFqvXQXEsvotOeg1jEVGThQwbdiPSq6Qdrp 4e2A== 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; bh=PM7BjAW26w8ejeTPK58Ffb/3BTRId4YGZdp1y9g2j08=; b=VdiJxfm1kxXjcrvoXtMetBjjn589lRqnnmlioqmrdkzV+H0FBPNFPmGwoa+cHA6fm/ xT6am0CCzeR6iNm03ThJXUOC4Bd56/UCC+u2tTGkP7JLwsdY2PQCceWZdqWIvUWL1U2U wpR/izawQYgS6GbSd5926s78+82x9dIiaKrBpzbk+v3CzUsIR6Gt+octJZw3q6ETC+K+ W8Ce9sCrUD/LhQzyD9TLkGbG8izF/s1vFiS8q6RoydSkSogUjdsj9CJuUTHJlSpdN8Ld p5VG9YF6EwdYPHljCIVCL6O5EQXbnOBhyrrd2m1PVrx6ssiShgpoTvufDtNtXgBWiqzs rMHw== X-Gm-Message-State: AElRT7Eq9ZFmgYpAJ9MmfNDCguSifuk1SkzTM4Np1CtYp4HlY8HrbGLz qMbXVJmE9/9J1kB20NFkXA== X-Google-Smtp-Source: AG47ELtGyg1XSun8bGpq8mIi1x6tIMOafDyqghi1jzu20dhkN9LIPgNi9Jx8hX9Ln04hePzPsRyWmA== X-Received: by 10.28.190.19 with SMTP id o19mr5874794wmf.53.1520172300479; Sun, 04 Mar 2018 06:05:00 -0800 (PST) Received: from localhost (191.red-83-39-212.dynamicip.rima-tde.net. [83.39.212.191]) by smtp.gmail.com with ESMTPSA id l22sm13220429wre.52.2018.03.04.06.04.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Mar 2018 06:04:59 -0800 (PST) From: Xose Vazquez Perez Cc: Xose Vazquez Perez , Hannes Reinecke , "Martin K . Petersen" , "James E . J . Bottomley" , SCSI ML Subject: [PATCH] scsi: devinfo: delete duplicate "Generic"/"USB Storage-SMC" device Date: Sun, 4 Mar 2018 15:04:58 +0100 Message-Id: <20180304140458.6445-1-xose.vazquez@gmail.com> X-Mailer: git-send-email 2.14.3 To: unlisted-recipients:; (no To-header on input) Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Revision is irrelevant, it's unused by the scsi infrastructure. Cc: Hannes Reinecke Cc: Martin K. Petersen Cc: James E.J. Bottomley Cc: SCSI ML Signed-off-by: Xose Vazquez Perez --- drivers/scsi/scsi_devinfo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c index f3b117246d47..384bed37b13b 100644 --- a/drivers/scsi/scsi_devinfo.c +++ b/drivers/scsi/scsi_devinfo.c @@ -168,8 +168,7 @@ static struct { {"easyRAID", "F8", NULL, BLIST_NOREPORTLUN}, {"FSC", "CentricStor", "*", BLIST_SPARSELUN | BLIST_LARGELUN}, {"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36}, - {"Generic", "USB Storage-SMC", "0180", BLIST_FORCELUN | BLIST_INQUIRY_36}, - {"Generic", "USB Storage-SMC", "0207", BLIST_FORCELUN | BLIST_INQUIRY_36}, + {"Generic", "USB Storage-SMC", NULL, BLIST_FORCELUN | BLIST_INQUIRY_36}, /* FW: 0180 and 0207 */ {"HITACHI", "DF400", "*", BLIST_REPORTLUN2}, {"HITACHI", "DF500", "*", BLIST_REPORTLUN2}, {"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},