summaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-22 11:15:15 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-22 12:05:16 +0100
commit427da406bcaf4f51b561ed19de89f2401df85d05 (patch)
treee0be9930d1f13ba7a50648df73bfc7847a4a4306 /mm/memory_hotplug.c
parent[media] vpfe_capture: fix compiler warning (diff)
downloadlinux-427da406bcaf4f51b561ed19de89f2401df85d05.tar.xz
linux-427da406bcaf4f51b561ed19de89f2401df85d05.zip
[media] vpdma: remove vpdma_enable_list_notify_irq()
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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions