Message ID | 20240105093216.13981-1-straube.linux@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp6114761dyb; Fri, 5 Jan 2024 01:33:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IFp/8oA74mb7F3nTY9ijhk4Mok6Off41/lOOv83Va/Eig/Hv3+yMk3W9+8F+cMseJnzy86v X-Received: by 2002:a05:6808:3c44:b0:3bc:2a41:3c3 with SMTP id gl4-20020a0568083c4400b003bc2a4103c3mr2275809oib.39.1704447187661; Fri, 05 Jan 2024 01:33:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704447187; cv=none; d=google.com; s=arc-20160816; b=lbFL3v+hVDibKHFn2i5ZTOiLkFDWNjGNL+FaqTANaaeSc9iQQH34kRM859pHAj6xep ZGSTutjQCjwKmvBOMnGvqUxmWBx/GuXJzMCMJ+RzejuFRbumIAfClj3ejsa100wSiJ19 IfVS4TwlGyJGEIxOcIQ0Xx7c02V+HFU05aAs4Nzdqd/lb3zudR3mAfuT+YMbN196l1ad egNHmXflnrMOHKhnWXUMV7nKDmuevx6BY6e5ugClTL6jgayRObH7sW9VGuHOg4Jks9YK b1y0jWkYzgvOMliDM3DfG/zB4E3dI37tWgMpmPDfpsKuGHSIn/PPU4kCQ6gpJF7DCfC8 wvsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ByzwZGHe2vxw8uFwYxJ78SuaBAL6cggpBYAyl9030dc=; fh=s//ZMn0BtnREoVRs+fKu8stuqvtzyttivtLKU6MvLIg=; b=BXObmfJRNhposOrNxUUFVkive4fHVsIsaxBrNbJ53fJl1AQL5M3RPpUJn1AmsdXI5A 4+Iz0TtpKH4FnWiVZ5JLA9/UpfLaOZ7X8eeQsQI/+qfRvhTMiV1s7OzDrWro8O88JCtY 2sbaYcCNRmOXkkrOZVN8fsu43oU2LUq3mwjuQzxvHBRYaupvHBZwG1jk4jbNDxTiq2ch MfXHSn2Tc/fRcWRlbDmVeqCe8Dz+bfeB8bUVx+OyKG92UAptMNU+tJJKEWpxd34PLvkL XLxG/yb9JidzRfkwKjq4ve6iTxpLWxpdqXhpMrHWtyzABWQJlEUdiYI3wQWn+0MdZBRm oRWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EhfTxyQh; spf=pass (google.com: domain of linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p6-20020a0c8c86000000b0067f86ad4e84si1298244qvb.456.2024.01.05.01.33.07 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 01:33:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EhfTxyQh; spf=pass (google.com: domain of linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-17660-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 725CD1C22AFC for <ouuuleilei@gmail.com>; Fri, 5 Jan 2024 09:33:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 233CD249FD; Fri, 5 Jan 2024 09:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EhfTxyQh" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FA7B2374D for <linux-kernel@vger.kernel.org>; Fri, 5 Jan 2024 09:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2cd0f4797aaso16022111fa.0 for <linux-kernel@vger.kernel.org>; Fri, 05 Jan 2024 01:32:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704447168; x=1705051968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ByzwZGHe2vxw8uFwYxJ78SuaBAL6cggpBYAyl9030dc=; b=EhfTxyQh7LxkGuDqQgAN31FHIBLzu3s1ADinOsuKpM67aMdLOq/VQkkHcQ8S3MZoU4 VXPB1U5YY/4ATh2FJgfj0wDoHWariMyKEiUEQszFG5Vby4npL8NhjhnoBRw11oZPLqS2 WWiN8UI+5sm2q2M/K5f1slD1hiqS403XQh2baVKmvExHFm0u2Fsfnl4CEMSm6889XlwO hDBxCWOKlYRJB2CkDHJ9KlvXG5c3w5AFlk/VHRxKJAiv5BbhX/5lbRaxY6/lm+yNRnbF QQYNUeCLIafAEk4YWP+QqK3fvzETN6/eS+sCD2LRRJM6oHqLXK0TZS1R4WZrYv05WO0r 9H6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704447168; x=1705051968; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ByzwZGHe2vxw8uFwYxJ78SuaBAL6cggpBYAyl9030dc=; b=rxdtV/fHRMk7ZWrv5mIAWr5II2RDbselADnG1S+ZCgLChHDeyMjxjpWI3eY+ugxCWH 4O7TZA4YuPU72Bjq1E7R+thXwQb8vHGOBwI7uiWTu2QVdua61+PzmqT9bfJV5K78KHFq c6R7XPBKEbnWBSblw69pR911KlvKgzA2HWzhxL+kTEH3ox2CyPkZcsmT0z6IGzpFC1kO UXAxMNypRATkAegHzxl+0aEdkwnuupeSEPI5gF1EaeZ3HrckEp96eAWQfXH6BihCLGeX epC88TGgMp8Ljy6ZZZ6ZY20CtwRSHF0oKlceIrTMqGVNTHbXY3xjDrWusOTxGzBzRfCS Um8A== X-Gm-Message-State: AOJu0Yz3ROQQchWH5VTIL3vM9YSapxBmLVFJOzYipuoDVTjnO3p33E9q irMergAWBmemJdiXu9NaiD4= X-Received: by 2002:a05:651c:547:b0:2cd:15ee:fa8f with SMTP id q7-20020a05651c054700b002cd15eefa8fmr1028470ljp.55.1704447167779; Fri, 05 Jan 2024 01:32:47 -0800 (PST) Received: from localhost.localdomain (ip5f5aba64.dynamic.kabel-deutschland.de. [95.90.186.100]) by smtp.gmail.com with ESMTPSA id b69-20020a509f4b000000b005557bbb81bfsm774885edf.79.2024.01.05.01.32.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 01:32:47 -0800 (PST) From: Michael Straube <straube.linux@gmail.com> To: gregkh@linuxfoundation.org Cc: philipp.g.hortmann@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube <straube.linux@gmail.com> Subject: [PATCH] staging: rtl8192e: remove return statement from void function Date: Fri, 5 Jan 2024 10:32:16 +0100 Message-ID: <20240105093216.13981-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787242414425421437 X-GMAIL-MSGID: 1787242414425421437 |
Series |
staging: rtl8192e: remove return statement from void function
|
|
Commit Message
Michael Straube
Jan. 5, 2024, 9:32 a.m. UTC
Remove return statement from the void function _rtl92e_if_check_reset().
Found by checkpatch.
WARNING: void function return statements are not generally useful
Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c index 5107d06a9fd0..6450f86c563e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c @@ -909,7 +909,6 @@ static void _rtl92e_if_check_reset(struct net_device *dev) netdev_info(dev, "%s(): TxResetType is %d, RxResetType is %d\n", __func__, TxResetType, RxResetType); } - return; } static void _rtl92e_update_rxcounts(struct r8192_priv *priv, u32 *TotalRxBcnNum,