It's the only flag anyway.
No functional change intended.
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
 Differential  D53521  
sound: Define SNDBUF_F_MANAGED as 0x00000001 Authored by christos on Sat, Nov 1, 5:18 PM. Tags None Referenced Files 
 
 
 
 
 
 
 
 Subscribers 
Details 
Diff Detail 
 Event TimelineComment Actions The other constants were removed in the refactoring in e4e61333ffa4e90360de2dd1e4e0146f7cbf0afb -#define SNDBUF_F_DMA 0x00000001 -#define SNDBUF_F_XRUN 0x00000002 -#define SNDBUF_F_RUNNING 0x00000004 Comment Actions So it's better to leave it as is? Not sure there is good reason to do so, these are internal anyway. Comment Actions 
 Oops, I had another comment that I deleted accidentally before I submitted. I was just wondering if there's any chance this will be used in an out-of-tree module, or it's entirely internal to the snd infrastructure. Anyhow I think it doesn't really matter if flags 1/2/4 are unused but I won't object to changing this if it has no external use/visibility.  |