X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fgameport.h;h=afad95272841827445d8258043351ba0d23fcf4c;hb=e9f20d6f03e8df393b001dab6dc5226c2a5daf57;hp=2cdba0c2395707184544ee755e9a5f9ddefbe9a1;hpb=2683e88413977a7f382106f8e8b3b684a597c761;p=linux-2.6 diff --git a/include/linux/gameport.h b/include/linux/gameport.h index 2cdba0c239..afad952728 100644 --- a/include/linux/gameport.h +++ b/include/linux/gameport.h @@ -105,7 +105,7 @@ static inline void gameport_set_phys(struct gameport *gameport, static inline struct gameport *gameport_allocate_port(void) { - struct gameport *gameport = kcalloc(1, sizeof(struct gameport), GFP_KERNEL); + struct gameport *gameport = kzalloc(sizeof(struct gameport), GFP_KERNEL); return gameport; }