From c18b5aed9d8c37db5e5835eb7d25f99f62a7f06a Mon Sep 17 00:00:00 2001 From: Moritz Muehlenhoff Date: Tue, 21 Jul 2009 01:22:08 +0200 Subject: Staging: hv: Remove compatibility ifdefry Signed-off-by: Moritz Muehlenhoff Cc: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/include/vmbus.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'drivers/staging/hv/include') diff --git a/drivers/staging/hv/include/vmbus.h b/drivers/staging/hv/include/vmbus.h index 3240578..62ddc1d 100644 --- a/drivers/staging/hv/include/vmbus.h +++ b/drivers/staging/hv/include/vmbus.h @@ -79,17 +79,6 @@ static inline struct driver_context *driver_to_driver_context(struct device_driv return container_of(driver, struct driver_context, driver); } -#if defined(KERNEL_2_6_5) -static inline void* kzalloc(int size, int flags) -{ - void *p; - p = kmalloc(size, flags); - if (p) memset(p, 0, size); - - return p; -} -#endif // KERNEL_2_6_5 - // // Vmbus interface // -- cgit v1.1