From: Jiaqi Shi <shijiaqi_develop@163.com>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
gregkh@linuxfoundation.org
Cc: linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org,
Jiaqi Shi <shijiaqi_develop@163.com>
Subject: [PATCH 1/3] staging: sm750fb: remove unused MHZ macro
Date: Thu, 19 Nov 2026 22:06:18 +0800 [thread overview]
Message-ID: <20261119140620.169368-2-shijiaqi_develop@163.com> (raw)
In-Reply-To: <20261119140620.169368-1-shijiaqi_develop@163.com>
The MHZ(x) macro has no users in the driver. Remove it.
Signed-off-by: Jiaqi Shi <shijiaqi_develop@163.com>
---
drivers/staging/sm750fb/sm750.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h
index fd1cf9eb5797..7511fab2e0e3 100644
--- a/drivers/staging/sm750fb/sm750.h
+++ b/drivers/staging/sm750fb/sm750.h
@@ -5,8 +5,6 @@
#define FB_ACCEL_SMI 0xab
-#define MHZ(x) ((x) * 1000000)
-
#define DEFAULT_SM750_CHIP_CLOCK 290
#define DEFAULT_SM750LE_CHIP_CLOCK 333
#ifndef SM750LE_REVISION_ID
--
2.53.0
next prev parent reply other threads:[~2026-11-19 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 14:06 [PATCH 0/3] staging: sm750fb: remove dead code and redundant definitions Jiaqi Shi
2026-11-19 14:06 ` Jiaqi Shi [this message]
2026-11-19 14:06 ` [PATCH 2/3] staging: sm750fb: remove more unused struct fields Jiaqi Shi
2026-11-19 14:06 ` [PATCH 3/3] staging: sm750fb: remove duplicate SM750LE_REVISION_ID definition Jiaqi Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261119140620.169368-2-shijiaqi_develop@163.com \
--to=shijiaqi_develop@163.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=sudipm.mukherjee@gmail.com \
--cc=teddy.wang@siliconmotion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox