mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 01:24:33 +00:00
[media] usb: pvrusb2: pvrusb2-hdw: Remove unused function
Remove the function pvr2_hdw_cmd_powerdown() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
43abdd6b6b
commit
811afabf14
@ -4029,11 +4029,6 @@ int pvr2_hdw_cmd_powerup(struct pvr2_hdw *hdw)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *hdw)
|
|
||||||
{
|
|
||||||
return pvr2_issue_simple_cmd(hdw,FX2CMD_POWER_OFF);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *hdw)
|
int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *hdw)
|
||||||
{
|
{
|
||||||
|
@ -271,9 +271,6 @@ int pvr2_hdw_cmd_deep_reset(struct pvr2_hdw *);
|
|||||||
/* Execute simple reset command */
|
/* Execute simple reset command */
|
||||||
int pvr2_hdw_cmd_powerup(struct pvr2_hdw *);
|
int pvr2_hdw_cmd_powerup(struct pvr2_hdw *);
|
||||||
|
|
||||||
/* suspend */
|
|
||||||
int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *);
|
|
||||||
|
|
||||||
/* Order decoder to reset */
|
/* Order decoder to reset */
|
||||||
int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *);
|
int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user