Author: manu
Date: Tue Sep 26 11:11:17 2017
New Revision: 324012
URL: https://svnweb.freebsd.org/changeset/base/324012

Log:
  mountd: Remove unneeded cast
  
  Reported by:  kib
  MFC after:    1 week
  X MFC With:   r324007

Modified:
  head/usr.sbin/mountd/mountd.c

Modified: head/usr.sbin/mountd/mountd.c
==============================================================================
--- head/usr.sbin/mountd/mountd.c       Tue Sep 26 11:04:08 2017        
(r324011)
+++ head/usr.sbin/mountd/mountd.c       Tue Sep 26 11:11:17 2017        
(r324012)
@@ -1936,7 +1936,7 @@ add_expdir(struct dirlist **dpp, char *cp, int len)
 {
        struct dirlist *dp;
 
-       dp = (struct dirlist *)malloc(sizeof (struct dirlist));
+       dp = malloc(sizeof (struct dirlist));
        if (dp == (struct dirlist *)NULL)
                out_of_mem();
        dp->dp_left = *dpp;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to