Skip to contentSkip to conversation

staging: vt6655: Remove unused function

PATCH Superseded Dorine Tipo 2 participants 2 messages Mar 16, 2024 Staging

v4 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 staging: vt6655: Remove unused function

Remove unused function RFbAL7230SelectChannelPostProcess declared in rf.h but has no associated implementation.

Commit dd2837bdea0e removed the RFbAL7230SelectChannelPostProcess() but accidentally forgot to delete the declaration in the header file.

Fixes dd2837bdea0e ("staging: vt6655: Remove unused byRFType in rf.c"

---
Changes since V1:

V2: - Removed the unintended blank line after removing the dead code
- Removed "in rf.h" from the subject

V3: - Added in the Description Comment about unintended blank line

V4: - Adjusted complete description according to hint from feedback
- Rebased patch

 drivers/staging/vt6655/rf.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/vt6655/rf.h +0 -4
index 6f842ac00526..8eef100c7ef2 100644
@@ -68,8 +68,4 @@ bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr,
 void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
 		  long *pldBm);
 
-/* {{ RobertYu: 20050104 */
-bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel);
-/* }} RobertYu */
-
 #endif /* __RF_H__ */

--
2.25.1

#1 lore raw
Quoted 7 lines · Dorine Tipo

Remove unused function RFbAL7230SelectChannelPostProcess declared in rf.h but has no associated implementation.

Commit dd2837bdea0e removed the RFbAL7230SelectChannelPostProcess() but accidentally forgot to delete the declaration in the header file.

Fixes dd2837bdea0e ("staging: vt6655: Remove unused byRFType in rf.c"

Missing right parenthesis.

julia

Quoted 33 lines

---
Changes since V1:

V2: - Removed the unintended blank line after removing the dead code
- Removed "in rf.h" from the subject

V3: - Added in the Description Comment about unintended blank line

V4: - Adjusted complete description according to hint from feedback
- Rebased patch

 drivers/staging/vt6655/rf.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/vt6655/rf.h +0 -5
index 6f842ac00526..8eef100c7ef2 100644
@@ -68,8 +68,4 @@ bool RFbRawSetPower(struct vnt_private *priv, unsigned char byPwr,
 void RFvRSSITodBm(struct vnt_private *priv, unsigned char byCurrRSSI,
 		  long *pldBm);
 
-/* {{ RobertYu: 20050104 */
-bool RFbAL7230SelectChannelPostProcess(struct vnt_private *priv, u16 byOldChannel, u16 byNewChannel);
-/* }} RobertYu */
-
 #endif /* __RF_H__ */
--

2.25.1