[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1011082243220.23697@swampdragon.chaosbits.net>
Date: Tue, 9 Nov 2010 00:07:34 +0100 (CET)
From: Jesper Juhl <jj@...osbits.net>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 00/17][trivial] Remove unnecessary casts of void ptr returning
alloc function return values
Hi,
The [vk][cmz]alloc(_node) family of functions return void pointers which
it's completely unnecessary/pointless to cast to other pointer types since
that happens implicitly.
So, I decided to clean out the remaining such casts that we have in the
kernel. I almost wish I'd never done so since that task took me into
staging/ and past files that made my eyes hurt and made me wish I'd been
born blind without a screenreader and never having learned braille
(specific filenames excluded to protect the guilty). But, since I was not
on a general cleanup mission but only wanted to remove those unnecessary
casts, I managed to escape with partial eyesight intact.
Anyway, this series removes all remaining unnecessary casts of void
pointers returned from [vk][cmz]alloc(_node)() that I could find.
--
Jesper Juhl <jj@...osbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists