From 07077f64dc75de4b6232f2f2a111e7ed914c4278 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 20 Feb 2014 15:14:38 +0100 Subject: [PATCH] kern/dsched_bfq: Remove local NULL, and some whitespace/comment cleanup. --- sys/kern/dsched/bfq/wf2q.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/kern/dsched/bfq/wf2q.h b/sys/kern/dsched/bfq/wf2q.h index b1a0794c1e..a98994f739 100644 --- a/sys/kern/dsched/bfq/wf2q.h +++ b/sys/kern/dsched/bfq/wf2q.h @@ -32,17 +32,12 @@ * SUCH DAMAGE. */ - #ifndef _DSCHED_BFQ_WF2Q_H_ #define _DSCHED_BFQ_WF2Q_H_ #include -#ifndef NULL -#define NULL 0x0 -#endif /* struct bfq_thread_io is defined in bfq.h */ - struct bfq_thread_io; RB_HEAD(wf2q_augtree_t, bfq_thread_io); @@ -64,5 +59,4 @@ void wf2q_update_vd(struct bfq_thread_io *tdio, int received_service); struct bfq_thread_io *wf2q_get_next_thread_io(struct wf2q_t *wf2q); void wf2q_inc_tot_service(struct wf2q_t *wf2q, int amount); -#endif - +#endif /* !_DSCHED_BFQ_WF2Q_H_ */ -- 2.41.0