diff options
author | Moritz Muehlenhoff <jmm@debian.org> | 2009-07-21 01:22:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:49 -0700 |
commit | c18b5aed9d8c37db5e5835eb7d25f99f62a7f06a (patch) | |
tree | 85b8e4608250af15eab49ad57a216ad8ccceb40a /drivers/staging/hv/include | |
parent | d4923090c1591f12d8f65e9d15a7ce2b63be2e87 (diff) | |
download | op-kernel-dev-c18b5aed9d8c37db5e5835eb7d25f99f62a7f06a.zip op-kernel-dev-c18b5aed9d8c37db5e5835eb7d25f99f62a7f06a.tar.gz |
Staging: hv: Remove compatibility ifdefry
Signed-off-by: Moritz Muehlenhoff <jmm@debian.org>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/include')
-rw-r--r-- | drivers/staging/hv/include/vmbus.h | 11 |
1 files changed, 0 insertions, 11 deletions
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 // |