mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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
1 changed files with 3 additions and 3 deletions
|
|
@ -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…
Reference in a new issue