2004-09-24 03:48:09

by maximilian attems

[permalink] [raw]
Subject: [patch 02/21] kill KERNEL_VERSION duplicate in videocodec.c







Hi.

Kill KERNEL_VERSION duplicate.
Funny that it insn't even used in here

Signed-off-by: Domen Puncer <[email protected]>
Signed-off-by: Maximilian Attems <[email protected]>

---

linux-2.6.9-rc2-bk7-max/drivers/media/video/videocodec.c | 5 -----
1 files changed, 5 deletions(-)

diff -puN drivers/media/video/videocodec.c~remove-unused-include-drivers_media_videocodec drivers/media/video/videocodec.c
--- linux-2.6.9-rc2-bk7/drivers/media/video/videocodec.c~remove-unused-include-drivers_media_videocodec 2004-09-21 20:51:38.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/drivers/media/video/videocodec.c 2004-09-21 20:51:38.000000000 +0200
@@ -43,11 +43,6 @@
#include <asm/uaccess.h>
#endif

-#include <linux/version.h>
-#ifndef KERNEL_VERSION
-#define KERNEL_VERSION(a,b,c) ((a)*65536+(b)*256+(c))
-#endif
-
#include "videocodec.h"

static int debug = 0;
_