media: solo6x10: remove useless function
Subsystems (2)
PATCH 1/1 media: solo6x10: remove useless function
Fix the following clang warning:
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c:394:19: warning: unused function 'vop_interlaced' [-Wunused-function].
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c +0 -5
@@ -391,11 +391,6 @@ static int solo_send_desc(struct solo_enc_dev *solo_enc, int skip, }/* Extract values from VOP header - VE_STATUSxx */ -static inline int vop_interlaced (const vop_header *vh) -{ -return (__le32_to_cpu ((*vh)[0 ]) >>30 ) &1 ; -} -static inline u8 vop_channel (const vop_header *vh) {return (__le32_to_cpu ((*vh)[0 ]) >>24 ) &0x1F ;
Signature · 1 line
1.8.3.1
Ismael Luceno
maintainerNACK; before removing any of these functions the fields should be documented somewhere else, so that no information is lost.
Quoted 30 lines · Jiapeng Chong
Fix the following clang warning:
drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c:394:19: warning: unused function 'vop_interlaced' [-Wunused-function].Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Chong <[email protected]>--- drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c | 5 ----- 1 file changed, 5 deletions(-)drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c +0
-5@@ -391,11 +391,6 @@ static int solo_send_desc(struct solo_enc_dev *solo_enc, int skip, }/* Extract values from VOP header - VE_STATUSxx */ -static inline int vop_interlaced (const vop_header *vh) -{ -return (__le32_to_cpu ((*vh)[0 ]) >>30 ) &1 ; -} -static inline u8 vop_channel (const vop_header *vh) {return (__le32_to_cpu ((*vh)[0 ]) >>24 ) &0x1F ;Signature · 1 line
1.8.3.1
Signature · 2 lines
Ismael Luceno http://iodev.co.uk/