is_full_id is set to 0 and then not used. remove it.
shared_scb_data set, but never used, remove it.
Set but not used variables eliminated.
last is set and not used, most likely a cut and paste error from other
sysctl setting functions in this module.
err set but not used. Eliminate it.
an isn't used, so eliminate it.