remove unnecessary casts
[mmh] / uip / burst.c
index 591d7f4..119a936 100644 (file)
@@ -117,10 +117,7 @@ main(int argc, char **argv)
                        exit(EX_SOFTWARE);
        seq_setprev(mp);  /* set the previous-sequence */
 
-       smsgs = (struct smsg *)
-               mh_xcalloc((size_t) (MAXFOLDER + 2), sizeof(*smsgs));
-       if (smsgs == NULL)
-               adios(EX_OSERR, NULL, "unable to allocate burst storage");
+       smsgs = mh_xcalloc(MAXFOLDER + 2, sizeof(*smsgs));
 
        hi = mp->hghmsg + 1;