void lock_fun( void *dev)
{
os_dev *osdev = (os_dev *)dev;
SPIN_LOCK(&osde v->tx_lock);
return;
}
Here I am getting a warning - unused variable osdev. The variable is being used but still I am getting the warning. Can someone please help me out with the same?
{
os_dev *osdev = (os_dev *)dev;
SPIN_LOCK(&osde v->tx_lock);
return;
}
Here I am getting a warning - unused variable osdev. The variable is being used but still I am getting the warning. Can someone please help me out with the same?
Comment