Assuming no friction between the surfaces, acceleration of block (1), a1=m1gsinθm1=gsinθ
and acceleration of block (2),
a2=m2gsinθm2=gsinθ
Value of |¯¯¯¯¯a1−¯¯¯¯¯a2|=|gsinθ−gsinθ|=0
Here we can say there is no tendency of relative sliding. Hence, no friction is present between (1) and (2).