evchap->u.get_chap.host_no = ev->u.get_chap.host_no;
                evchap->u.get_chap.chap_tbl_idx = ev->u.get_chap.chap_tbl_idx;
                evchap->u.get_chap.num_entries = ev->u.get_chap.num_entries;
-               buf = (char *) ((char *)evchap + sizeof(*evchap));
+               buf = (char *)evchap + sizeof(*evchap);
                memset(buf, 0, chap_buf_size);
 
                err = transport->get_chap(shost, ev->u.get_chap.chap_tbl_idx,
                evhost_stats->type = nlh->nlmsg_type;
                evhost_stats->u.get_host_stats.host_no =
                                        ev->u.get_host_stats.host_no;
-               buf = (char *)((char *)evhost_stats + sizeof(*evhost_stats));
+               buf = (char *)evhost_stats + sizeof(*evhost_stats);
                memset(buf, 0, host_stats_size);
 
                err = transport->get_host_stats(shost, buf, host_stats_size);