Remove unused variable
Remove unused variables
Check for no challenge/response in packet

Closes Coverity #720480