Add detection of dead struct fields
Remove the dead code identified by the new lint