From: Jörn Engel Date: Thu, 24 Nov 2011 01:05:51 +0000 (+0100) Subject: target: remove useless casts X-Git-Tag: v3.3-rc1~7^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8359cf43b9dccddeebb0d247146719a14ce6371a;p=pandora-kernel.git target: remove useless casts A reader should spend an extra moment whenever noticing a cast, because either something special is going on that deserves extra attention or, as is all too often the case, the code is wrong. These casts, afaics, have all been useless. They cast a foo* to a foo*, cast a void* to the assigned type, cast a foo* to void*, before assigning it to a void* variable, etc. In a few cases I also removed an additional &...[0], which is equally useless. Lastly I added three FIXMEs where, to the best of my judgement, the code appears to have a bug. It would be good if someone could check these. Signed-off-by: Joern Engel Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed