X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fchar%2Fconsolemap.c;h=b99b7561260dca1eeea4472bb95f3a087c9f688a;hb=c41e0deb50c44f9d119c2268f1be05e6a6bb5772;hp=c85a4fa60da7e235b207a6ba84d305928ec1e142;hpb=89de09a9ba9ce293228b1f1aa3c68b5af33a70ce;p=mv-sheeva.git diff --git a/drivers/char/consolemap.c b/drivers/char/consolemap.c index c85a4fa60da..b99b7561260 100644 --- a/drivers/char/consolemap.c +++ b/drivers/char/consolemap.c @@ -11,7 +11,6 @@ * Fix bug in inverse translation. Stanislav Voronyi , Dec 1998 */ -#include #include #include #include @@ -444,7 +443,7 @@ int con_clear_unimap(struct vc_data *vc, struct unimapinit *ui) p = (struct uni_pagedir *)*vc->vc_uni_pagedir_loc; if (p && p->readonly) return -EIO; if (!p || --p->refcount) { - q = (struct uni_pagedir *)kmalloc(sizeof(*p), GFP_KERNEL); + q = kmalloc(sizeof(*p), GFP_KERNEL); if (!q) { if (p) p->refcount++; return -ENOMEM;