Skip to content
Snippets Groups Projects
Select Git revision
  • pred_err_handling default protected
  • pred_err_handling_more_prints
  • pbm_no_preemption_fix_test_input
  • pbm_no_preemption_fix_test
  • libpbm_kernel_fix
  • libpbm_kernel
  • bugfix/setup
  • libpbm_kernel_fix_bak
  • pbm_no_preemption
  • pbm
  • testing
  • sose22results
  • sose22
  • master protected
  • err_detect
  • kelvin
16 results

drivers

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Mauro Carvalho Chehab authored
    Despite being exported, there's no prototype for it at the
    headers, as warned by sparse:
    
    Fixes this sparse warning:
    	drivers/media/platform/ti-vpe/vpdma.c:1000:6: warning: no previous prototype for 'vpdma_enable_list_notify_irq' [-Wmissing-prototypes]
    	 void vpdma_enable_list_notify_irq(struct vpdma_data *vpdma, int irq_num,
    	      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Worse than that, it is not even used, as making it static it
    would produce:
    
    	drivers/media/platform/ti-vpe/vpdma.c:1000:13: warning: 'vpdma_enable_list_notify_irq' defined but not used [-Wunused-function]
    	 static void vpdma_enable_list_notify_irq(struct vpdma_data *vpdma, int irq_num,
    	             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    So, let's just get rid of the dead code. If needed in the future,
    someone could re-add it.
    
    Cc: Benoit Parrot <bparrot@ti.com>
    Cc: Hans Verkuil <hans.verkuil@cisco.com>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    427da406
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..