Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3424765ybh; Mon, 5 Aug 2019 18:34:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKrK03f8zTnu6FaevsUhQfrdIyAIJaZ7B/0lzOlc46VzwP8DcdZSlJFuHurzjXuK3m8w73 X-Received: by 2002:a17:902:f216:: with SMTP id gn22mr626221plb.118.1565055274036; Mon, 05 Aug 2019 18:34:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565055274; cv=none; d=google.com; s=arc-20160816; b=0KP2IlIZThaXef/PNsWs5zyc5GrnGe8VbUgZo2FhbKrUtPy8+yrvLzmc4mrgaRXadt MlYwDknXYUBM/7YVSEnNsW9ATMCZ+vhO6RQSKz8nrwDXCZKPuNqTNw/8WlsCSB98Zrqo lvr+5Ikb5mUGa3XXM8GiqQKl3w671bAvi2yNxnwkh6+4WiFRWIU22uA70JY/Kik6xNBK XHtpPn1aCZluL5lC/27cMZjw/wCgqlx5LkoKTB6brBcG/c6j4YpSoe9dJXGngSuc7Seb hoNZPys+Ux0QL//G0ugH5Rm9O/RCjtfPWYBb2QaNeomqKG6BaEAsphETJGT080sxXocX LAeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from :dkim-signature; bh=3Q58zsuke6wL53H4L04d0Bb7ddU3CfSaVopOCua6A/0=; b=D3FeywQB628QjakGgEz+LmGkIe785aNfD9OWVzsVGZ2Bn26+52d35PQGKe4g0wk9Xy +Mp9kJKbTPieh2lyWxYElxv6JokjAXo+JineDrHE6XOnGvd8epZjyi9ix2gHGra5utQ9 yklFQd5Zmb1FgNgNZUY2YfzKFVcHVc33nhFkUBcJ1KxNy9kFsd1nDN92UyTUetYtBgAp jXoumb1vrWsPPLKZRrm59HkhPp8VBjr3NB0EtuyhnEY5B1k3sycsG1ne8ndd5cjgQv0x Cq7mVrubVjy43ITI0d5iMGW6bkI2xmnsyS+0Kp1L2L9ugAunN+rg+IQXF7PumNxd1oJ0 Q8Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I6z6O7r3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d36si40386254pla.113.2019.08.05.18.34.18; Mon, 05 Aug 2019 18:34:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I6z6O7r3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731327AbfHFBdg (ORCPT + 99 others); Mon, 5 Aug 2019 21:33:36 -0400 Received: from mail-qt1-f196.google.com ([209.85.160.196]:41817 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728870AbfHFBdg (ORCPT ); Mon, 5 Aug 2019 21:33:36 -0400 Received: by mail-qt1-f196.google.com with SMTP id d17so4059152qtj.8 for ; Mon, 05 Aug 2019 18:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=3Q58zsuke6wL53H4L04d0Bb7ddU3CfSaVopOCua6A/0=; b=I6z6O7r3bTflfnCWcqkpvE2mqzgQuHYLFT6MkZp0mZMZMQY8RyQ+feZCfoS9hi3Xqy TP8h6xHhaLdVoXbxc2okS54YaAbAltMFH8zPZq3Ag5qF/VYe8cPESBjzbU2lJOgLsjZ+ +gNqKtoMHFU7pT188vUoWhF2H2j4niN/M61rt+rGI/+x4MEaNAoiagXLhdWm+lYZXV7c x6udGDlR3vLoKsZN5GOD0cS9qjZoMpt16TPV0TKjD2BkWCS5tqOfwwwItNc1U8j5pO6w +tq9kNvuMw73Yagz6yl3Y8W7xC1w6CxaPEf2qJXZu1ni+JvZ9yhtpklqEUFl4TsmfpsR Ug5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=3Q58zsuke6wL53H4L04d0Bb7ddU3CfSaVopOCua6A/0=; b=hVNymI+iFOES82674+wYFWmk2wWQEtoEEi5h8wH9fuQX9cLVpnkf/ktDX3byzzUbA3 ECF6O6uRVCr5hhJAs2hnKPpt1vgFrczvYPc+oNV0GXHIDCV6h1Qk6gag64/xMtRRETcV Snhq9LjR7VUPY9uoFY6pgTJzoBc35ef9W/Ubuie/p9lxgQGxR8/u92xc5zT7u9GMTnvk MrgpZG2oSFY4IwMq1cdvWWga+xUONxUqHhFh2NR0L6ctRYFqWqjbEv8rwLvh6bsweHT+ HZj3erF/75svEpUrogc8/LOcdXHlzV/wp+vuxfSe9FFuLJTQLFm/ssR9t3u6+ZWnDaeo 2uzQ== X-Gm-Message-State: APjAAAXOXTAJKxL1TcCw4Gj1h9A63gnZRfuPJYCAQ11mzaL+s97leFOO s9gvkIrsEgy4TRfgJ4MhF95aW2TkYf9OnQ== X-Received: by 2002:ac8:2774:: with SMTP id h49mr855184qth.97.1565055214743; Mon, 05 Aug 2019 18:33:34 -0700 (PDT) Received: from localhost.localdomain ([2804:431:c7f0:2195:b8bc:4baa:a575:e6c8]) by smtp.gmail.com with ESMTPSA id k123sm34789574qkf.13.2019.08.05.18.33.31 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 18:33:33 -0700 (PDT) From: Jose Carlos Cazarin Filho To: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org Subject: [PATCH] rtl8712: rtl871x_ioctl_linux.c: fix unnecessary typecast Date: Mon, 5 Aug 2019 22:33:29 -0300 Message-Id: <20190806013329.28574-1-joseespiriki@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpath warning: WARNING: Unnecessary typecast of c90 int constant Signed-off-by: Jose Carlos Cazarin Filho --- Hello all! This is my first commit to the Linux Kernel, I'm doing this to learn and be able to contribute more in the future Peace all! drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index 944336e0d..da371072e 100644 --- a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c +++ b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c @@ -665,8 +665,8 @@ static int r8711_wx_set_freq(struct net_device *dev, /* If setting by frequency, convert to a channel */ if ((fwrq->e == 1) && - (fwrq->m >= (int) 2.412e8) && - (fwrq->m <= (int) 2.487e8)) { + (fwrq->m >= 2.412e8) && + (fwrq->m <= 2.487e8)) { int f = fwrq->m / 100000; int c = 0; -- 2.17.1