Remove trivial comments. Remove and-ing with UINT_MAX for minor(),
cast to int already does the required truncation of significant bits. Requested and reviewed by: bde Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
6f777dd4e9
commit
0b9b3897a8
@ -364,9 +364,9 @@ __bitcount64(__uint64_t _x)
|
||||
|
||||
#include <sys/select.h>
|
||||
|
||||
#define major(x) ((int)((dev_t)(x) >> 32)) /* major number */
|
||||
#define minor(x) ((int)((x) & 0xffffffff)) /* minor number */
|
||||
#define makedev(x, y) (((dev_t)(x) << 32) | (unsigned)(y)) /* create dev_t */
|
||||
#define major(x) ((int)((dev_t)(x) >> 32))
|
||||
#define minor(x) ((int)(x))
|
||||
#define makedev(x, y) (((dev_t)(x) << 32) | (unsigned)(y))
|
||||
|
||||
/*
|
||||
* These declarations belong elsewhere, but are repeated here and in
|
||||
|
Loading…
x
Reference in New Issue
Block a user