Add "no BKL needed" comments to several drivers
This documents the fact that somebody looked at the relevant open() functions and concluded that, due to their trivial nature, no locking was needed. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -232,6 +232,7 @@ static ssize_t tanbac_tb0219_write(struct file *file, const char __user *data,
|
||||
return i;
|
||||
}
|
||||
|
||||
/* No BKL needed here; no global resources accessed */
|
||||
static int tanbac_tb0219_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
unsigned int minor;
|
||||
|
Referens i nytt ärende
Block a user