Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2500876iob; Fri, 6 May 2022 04:26:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXxf9glF6rS+zq0JZBLf8EBXlVDXLc6KeQ8Edftv3fRb+i0PsBlomnhjCTm1E6+wMyJIJ2 X-Received: by 2002:a17:907:62a6:b0:6ef:8118:d3e2 with SMTP id nd38-20020a17090762a600b006ef8118d3e2mr2432770ejc.605.1651836385000; Fri, 06 May 2022 04:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651836384; cv=none; d=google.com; s=arc-20160816; b=pSbZycrj0Fh/aZ1CdfoMqpBsE/HLktOigAHUraYfVA1RhGRwr9rE4wPrSAk0fA1bM0 QCpcEyPtp8fVVU4NfobNbcVgez/wEuHyJrhPImYrbS/mZVEnZ2jgvplOlofpkPvuJsgZ AZNlkpw7HfV6GUir/fESjnhXH+iLHLuEfNrQoqLlo6UxrZHpoy9r6OsW4uwo2BVJEmFa nqLBAQCMqYCvqzmr3B7H04Z/3rwjIVOa7pomhSY8PgvMFsLnXsmN34XnjwC+xH8GjxRB NfEkSsvR/xERBwZzgyYQ8gJp+o1ETAFyVKjU/413OICJ/s8AK7eMnquSjmxRH8vDcAoC Ef/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SaHswn+t3OmElaHEML/WLzTfKM/t+uEKqtXbme9xycA=; b=mM9wJoLB35uIxxprvfLuH9M6AVaTwcKxIQmhWRnoWib8zLu3iWONHW5enVpdJ60CKZ Fsh+ts1svYbF4pRHJvpcMVZWq3HDezn1I/6+utoQ8Dcq0c74vV8Bv08Km+0aT3p7Zfwt hf47sOiYbEdA0TRrThX8HT8PWH7h704zazB6IHVMktUcL/90K/uZxbsy9l99G0eXiCfH ARjqKC05aA12Ea2AC6rbyp3d/H5pAHW9RPs6F4vfLmu1kdiQE9LORhsg2RDPRghhyEGL LclMVJCjB26ONQUNjFAbNAKWR/Pi9hLb6OdNO/KApZfghnEdn5BD6qslhLGqVsQRuzFQ 6DRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020a056402511100b00425e960d175si4788708edd.350.2022.05.06.04.26.04; Fri, 06 May 2022 04:26:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389782AbiEFICS (ORCPT + 68 others); Fri, 6 May 2022 04:02:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389776AbiEFICO (ORCPT ); Fri, 6 May 2022 04:02:14 -0400 Received: from out30-45.freemail.mail.aliyun.com (out30-45.freemail.mail.aliyun.com [115.124.30.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF1E2674F7; Fri, 6 May 2022 00:58:31 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R731e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VCR2-To_1651823896; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VCR2-To_1651823896) by smtp.aliyun-inc.com(127.0.0.1); Fri, 06 May 2022 15:58:29 +0800 From: Jiapeng Chong To: m@bues.ch Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] ssb: remove unreachable code Date: Fri, 6 May 2022 15:58:14 +0800 Message-Id: <20220506075814.115059-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Clean up the following smatch warning: drivers/ssb/pci.c:917 ssb_pci_sprom_get() warn: ignoring unreachable code. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/ssb/pci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 148bcb99c212..493bebbba521 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c @@ -914,7 +914,6 @@ static int ssb_pci_sprom_get(struct ssb_bus *bus, err = 0; goto out_free; } - pr_warn("WARNING: Invalid SPROM CRC (corrupt SPROM)\n"); } } err = sprom_extract(bus, sprom, buf, bus->sprom_size); -- 2.20.1.7.g153144c