Drift waves in a quadrupole with sheared field configuration