Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp898986ybp; Wed, 9 Oct 2019 06:03:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLszm/H7K2YgjDBni2BLPFA2EnRDEvDqqLP/XSsVn0TG7Fhk8zyUFUuDEYnFLh41cY0/ak X-Received: by 2002:aa7:ce8e:: with SMTP id y14mr2836486edv.5.1570626189661; Wed, 09 Oct 2019 06:03:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570626189; cv=none; d=google.com; s=arc-20160816; b=0tSwnNpH3JJKrs08+ayuW6hty7KyBhtyqwgS64l68gjfiIgdn/C4IEocuHTq7SbRez MVQHGXY1ZtsQuRIW+rDAWgQWtJ1LTF05zNg1O8zfOrqzJeM972aD2jwEblbc+sIb3xrR LItrZ6PusauUoeuOjhDA1t1N3RZ/Hcim+JLs0D0ccKelGMx1I2C6ylToy/ZfWD6MQLzd hcgpkpcJK7U4rsIfZrXVIWcoDLAyFNBeRTFFNH6n/1JDHXCbERI4f1CBXR9N+qFrekPW Np4R1b9yQlk3Hv8s5HCgW2A3lNMYSQJuOlnIcYnLj+ww08E1fgrYqfl93Cukz7cZnddo 5g/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=lDaeXb42X2h06b6lrE8z2CQwD8mgKjKNYHk5AoFeK0w=; b=NaVBtX6Zy5BAvCQYLDLU3AfNeAs5gFn6RxEoLxpFS249t8fWhKUCj/gIrXv4MwqkTv csIikyQ09axBghnLi4M/wgjakkzouSh7lZ1uG1ZdPfy5JL1Oji9x6iMJEpbFl+M/JHsP qAzDyGYYQGZvasc/rtVRUgDnNBu/yWzHJSRoEKoCKCN71rXqic4h/DwzKeYkKkubUQvF qdXcEJH6Qhz4k+bNFyHjKO2LALo8EpkUZLA/cOp+JnCn4zWBh/7HV3GkcRn5huQe5SiD TQuwfCrTlkwIBlbgYgSuOVGve+eI9Du1WzlPA0Gu6Kl1lA40XIyI34atVxnsiYFdhAJA sv/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8si1274659edm.240.2019.10.09.06.02.40; Wed, 09 Oct 2019 06:03:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731326AbfJINCi (ORCPT + 99 others); Wed, 9 Oct 2019 09:02:38 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:51174 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730901AbfJINCi (ORCPT ); Wed, 9 Oct 2019 09:02:38 -0400 Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 0A99F554228B2C48068D; Wed, 9 Oct 2019 21:02:32 +0800 (CST) Received: from [127.0.0.1] (10.184.213.217) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.439.0; Wed, 9 Oct 2019 21:02:30 +0800 Subject: Re: [PATCH RESEND] rtlwifi: rtl8192ee: Remove set but not used variable 'err' To: Kalle Valo CC: , , References: <1570612107-13286-1-git-send-email-zhengbin13@huawei.com> <8736g2rs86.fsf@codeaurora.org> From: "zhengbin (A)" Message-ID: <0135c3c7-a827-941a-1bad-90129c49d0ac@huawei.com> Date: Wed, 9 Oct 2019 21:01:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <8736g2rs86.fsf@codeaurora.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.184.213.217] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 2019/10/9 20:58, Kalle Valo wrote: > zhengbin writes: > >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c: In function rtl92ee_download_fw: >> drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c:111:6: warning: variable err set but not used [-Wunused-but-set-variable] >> >> Reported-by: Hulk Robot >> Signed-off-by: zhengbin >> Acked-by: Ping-Ke Shih > There's no changelog, why did you resend? Document clearly the changes > so that maintainers don't need to guess what has changed: Failed to apply: fatal: corrupt patch at line 13 error: could not build fake ancestor Applying: rtlwifi: rtl8192ee: Remove set but not used variable 'err' Patch failed at 0001 rtlwifi: rtl8192ee: Remove set but not used variable 'err' The copy of the patch that failed is found in: .git/rebase-apply/patch So I resend this. > > https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#changelog_missing >