summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2014-12-12 15:15:50 -0500
committerDavid S. Miller <davem@davemloft.net>2014-12-12 15:15:50 -0500
commitd717e90420db737325928959a6b8651bb88a304a (patch)
treec10e7cde175984e2972c26fe1bf0d6b1b1917b4b /include/linux
parenta169758a271768eeebdbc3260435558534695015 (diff)
parent7142637dd93a7e1e9f5515e6c66c7d271fa92ad2 (diff)
downloadlinux-d717e90420db737325928959a6b8651bb88a304a.tar.gz
linux-d717e90420db737325928959a6b8651bb88a304a.tar.bz2
linux-d717e90420db737325928959a6b8651bb88a304a.zip
Merge branch 'kill_tasklet_hi_enable'
Quentin Lambert says: ==================== Remove redundant function tasklet_hi_enable and tasklet_enable are redundant. Since tasklet_hi_enable is used only 6 times in 1 file, the first patch changes calls to the function with calls to tasklet_enable. The second patch removes tasklet_hi_enable definition. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/interrupt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 69517a24bc50..d9b05b5bf8c7 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -556,12 +556,6 @@ static inline void tasklet_enable(struct tasklet_struct *t)
atomic_dec(&t->count);
}
-static inline void tasklet_hi_enable(struct tasklet_struct *t)
-{
- smp_mb__before_atomic();
- atomic_dec(&t->count);
-}
-
extern void tasklet_kill(struct tasklet_struct *t);
extern void tasklet_kill_immediate(struct tasklet_struct *t, unsigned int cpu);
extern void tasklet_init(struct tasklet_struct *t,