diff --git a/lib/gpu/lal_dpd_charged.cu b/lib/gpu/lal_dpd_charged.cu index 2ffd2b9990..2f789fe9bf 100644 --- a/lib/gpu/lal_dpd_charged.cu +++ b/lib/gpu/lal_dpd_charged.cu @@ -185,7 +185,6 @@ __kernel void k_dpd_charged(const __global numtyp4 *restrict x_, atom_info(t_per_atom,ii,tid,offset); __local numtyp sp_cl[4]; - int n_stride; local_allocate_store_charge(); sp_cl[0]=sp_cl_in[0]; @@ -259,8 +258,6 @@ __kernel void k_dpd_charged(const __global numtyp4 *restrict x_, numtyp dot = delx*delvx + dely*delvy + delz*delvz; numtyp wd = (numtyp)1.0 - r/coeff[mtype].w; - const numtyp qj = extra[j].x; - unsigned int tag1=itag, tag2=jtag; if (tag1 > tag2) { tag1 = jtag; tag2 = itag; @@ -378,7 +375,7 @@ __kernel void k_dpd_charged_fast(const __global numtyp4 *restrict x_, } if (tid tag2) { tag1 = jtag; tag2 = itag;