In this paper,the bifurcation of limit cycles for planar piecewise smooth systems is studied which is separated by a straight line.We give a new form of Abelian integrals for piecewise smooth systems which is simpler than before.In application,for piecewise quadratic system the existence of 10 limit cycles and 12 small-amplitude limit cycles is proved respectively.