Markus Armbruster d4df3dbc02 block: Drop some superfluous casts from void *
They clutter the code.  Unfortunately, I can't figure out how to make
Coccinelle drop all of them, so I have to settle for common special
cases:

    @@
    type T;
    T *pt;
    void *pv;
    @@
    - pt = (T *)pv;
    + pt = pv;
    @@
    type T;
    @@
    - (T *)
      (\(g_malloc\|g_malloc0\|g_realloc\|g_new\|g_new0\|g_renew\|
	 g_try_malloc\|g_try_malloc0\|g_try_realloc\|
	 g_try_new\|g_try_new0\|g_try_renew\)(...))

Topped off with minor manual style cleanups.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-08-20 11:51:28 +02:00
..
2014-07-11 21:31:55 +03:00
2014-08-04 14:41:53 +01:00
2014-08-15 19:12:48 +04:00
2013-12-24 18:02:18 +01:00
2014-06-30 21:13:30 +02:00
2014-08-15 18:54:06 +04:00
2014-08-14 13:22:00 +02:00
2014-05-28 17:36:21 +02:00
2014-06-27 13:48:22 +02:00
2014-06-30 21:13:30 +02:00
2014-07-08 15:08:03 +02:00
2014-08-18 12:06:21 +02:00
2014-06-30 21:13:30 +02:00
2014-08-18 12:06:21 +02:00