]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts
authorKees Cook <keescook@chromium.org>
Mon, 23 Oct 2017 07:40:42 +0000 (09:40 +0200)
committerKees Cook <keescook@chromium.org>
Wed, 22 Nov 2017 00:35:54 +0000 (16:35 -0800)
commit841b86f3289dbe858daeceec36423d4ea286fac2
tree332a53d6045914798e364a534fe3a47cab56d803
parent919b250f8570618e84af544c3e18dad5210eb9b6
treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts

With all callbacks converted, and the timer callback prototype
switched over, the TIMER_FUNC_TYPE cast is no longer needed,
so remove it. Conversion was done with the following scripts:

    perl -pi -e 's|\(TIMER_FUNC_TYPE\)||g' \
        $(git grep TIMER_FUNC_TYPE | cut -d: -f1 | sort -u)

    perl -pi -e 's|\(TIMER_DATA_TYPE\)||g' \
        $(git grep TIMER_DATA_TYPE | cut -d: -f1 | sort -u)

The now unused macros are also dropped from include/linux/timer.h.

Signed-off-by: Kees Cook <keescook@chromium.org>
44 files changed:
drivers/base/power/wakeup.c
drivers/block/aoe/aoecmd.c
drivers/block/swim3.c
drivers/infiniband/hw/nes/nes_verbs.c
drivers/input/input.c
drivers/media/common/saa7146/saa7146_vbi.c
drivers/net/ethernet/ti/tlan.c
drivers/net/hamradio/scc.c
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
drivers/net/wireless/ray_cs.c
drivers/s390/char/sclp.c
drivers/s390/scsi/zfcp_fsf.c
drivers/scsi/aic94xx/aic94xx_hwi.c
drivers/scsi/aic94xx/aic94xx_tmf.c
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/cxgbi/cxgb3i/cxgb3i.c
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/ipr.c
drivers/scsi/libfc/fc_fcp.c
drivers/scsi/libsas/sas_expander.c
drivers/scsi/libsas/sas_scsi_host.c
drivers/scsi/mvsas/mv_sas.c
drivers/scsi/pm8001/pm8001_sas.c
drivers/scsi/pmcraid.c
drivers/staging/irda/include/net/irda/timer.h
drivers/tty/serial/8250/8250_core.c
include/linux/kthread.h
include/linux/timer.h
include/linux/workqueue.h
kernel/kthread.c
kernel/workqueue.c
net/atm/lec.c
net/can/proc.c
net/lapb/lapb_timer.c
net/netrom/af_netrom.c
net/netrom/nr_timer.c
net/rose/rose_link.c
net/rose/rose_timer.c
net/sunrpc/svc_xprt.c
net/x25/af_x25.c
net/x25/x25_timer.c
sound/usb/line6/driver.c