Remove useless variables in diskfile